Skip to main content

update-gosec-action-version

Update the gosec GHCR image version in action.yml using a provided gosec version.

来源信息

仓库
securego/gosec
最近来源活动
2026年2月28日 17:57
检测到的 SKILL.md 语言
英语
星标
8,954
分支
714

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
Update Gosec Action Version
description
Update the gosec GHCR image version in action.yml using a provided gosec version.
# Update gosec version in GitHub Action metadata Use this skill when you want to update the gosec version used by this repository's GitHub Action. ## Required input ### gosec version <gosec version, for example 2.24.1> ## Execution workflow 1. Read `action.yml`. 2. Locate `runs.image` with format `docker://ghcr.io/securego/gosec:<version>`. 3. Replace only the version segment after the colon with the provided gosec version. 4. Do not change unrelated fields or formatting in `action.yml`. 5. Validate that the resulting image value is exactly `docker://ghcr.io/securego/gosec:<provided_version>`. 6. Create a branch named `chore/update-action-gosec-<provided_version>`. 7. Commit the change with message `chore(action): bump gosec to <provided_version>`. 8. Push the branch to origin. 9. Open a pull request to `master` with: - Title: `chore(action): bump gosec to <provided_version>` - Body: concise summary that this updates `action.yml` GHCR image version. ## Output requirements - Report old version and new version. - Confirm that only `action.yml` was modified for the version bump. - Report the created branch name, commit SHA, pull request title, and pull request URL.
在 GitHub 查看