google / gcp_scanner

A comprehensive scanner for Google Cloud
Apache License 2.0
311 stars 97 forks source link

feat: Enable Versioning #98

Closed HanZ1203 closed 1 year ago

HanZ1203 commented 1 year ago

Description

Enable versioning for GCP Scanner with GitHub release and tag.

Changes Made

Add a YAML file to modify GitHub Action workflow.

Usage

Step 1: commit Step 2: assign a tag. git tag v1.0.0 -m 'test for versioning' Step 3: push. git push origin v1.0.0 Result: a release and a tag are automatically generated.

Related Issues

20

related pr: #35

Additional Notes

This function requires configuring the workflow permissions with 'Read and Write permissions'.

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

mshudrak commented 1 year ago

Please accept Google CLA

HanZ1203 commented 1 year ago

Like in PR #35, we don't want extra third-party dependencies here, especially for the release process. We would prefer to explore native Github mechanism (if any) for that.

Hi, I have removed the third-party dependencies and committed a new file. I have made tests and it works fine in my forked repository. I also added the usage and notes in the file. Please take a look:).

mshudrak commented 1 year ago

We will release manually via Github Actions. It has enough features in order to do that.