Skip to content

ci: 固定 GitHub Actions 到 commit SHA - #116

Merged
Mars-Sea merged 1 commit into
mainfrom
agent/pin-github-actions
Nov 2, 2026
Merged

Mars-Sea merged 1 commit into
mainfrom
agent/pin-github-actions

Conversation

@ben-bot-ai

Copy link
Copy Markdown
Collaborator

This is by an automated agent, not a human.

将 3 个 workflow 中的 11 处 GitHub Action 引用从可移动 tag 固定到不可变 commit SHA,并保留行尾版本注释。

背景

awesome-ai-plugins 的收录要求对源码仓库的扫描分数不低于 75。当前仓库扫描为 73/100,主要缺口是 GITHUB_ACTION_UNPINNED;固定引用后同一扫描(plugin-scanner 3.57.0)为 80/100。

验证

  • 本地用与收录扫描相同版本的 plugin-scanner 3.57.0 复测:73 → 80,GITHUB_ACTION_UNPINNED 检查通过。
  • 3 个 workflow 文件均可正常解析,git diff --check 通过。
  • 只改引用形式(tag → 该 tag 当前指向的 commit SHA),权限、触发条件、输入参数和运行步骤均未改动。

后续

合并后我会重新运行 awesome-ai-plugins#1123 的源码扫描;达到 75 分门槛后,收录 PR 才能进入合并流程。

为什么:awesome-ai-plugins 的收录扫描按未固定 Action 引用扣分,源码仓库仅 73/100,低于 75 的合并门槛;把 11 处引用固定到不可变 commit SHA 后为 80/100。仅改引用形式,版本与运行行为不变。
@Mars-Sea
Mars-Sea merged commit 8f0c88e into main Nov 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants