mirror of
https://github.com/securego/gosec.git
synced 2026-06-20 00:15:59 +02:00
1.2 KiB
1.2 KiB
Update gosec version in GitHub Action metadata
Use this command to update the gosec version used by this repository's GitHub Action.
Required input
Provide the gosec version (e.g. 2.24.1):
$ARGUMENTS
Execution workflow
- Read
action.yml. - Locate
runs.imagewith formatdocker://ghcr.io/securego/gosec:<version>. - Replace only the version segment after the colon with the provided gosec version.
- Do not change unrelated fields or formatting in
action.yml. - Validate that the resulting image value is exactly
docker://ghcr.io/securego/gosec:<provided_version>. - Create a branch named
chore/update-action-gosec-<provided_version>. - Commit the change with message
chore(action): bump gosec to <provided_version>. - Push the branch to origin.
- Open a pull request to
masterwith:- Title:
chore(action): bump gosec to <provided_version> - Body: concise summary that this updates
action.ymlGHCR image version.
- Title:
Output requirements
- Report old version and new version.
- Confirm that only
action.ymlwas modified for the version bump. - Report the created branch name, commit SHA, pull request title, and pull request URL.