Skip to content

Pin workflow actions to commits - #10

Merged
deflinhec merged 1 commit into
mainfrom
claude/project-thread-vvr6bv
Nov 13, 2026
Merged

deflinhec merged 1 commit into
mainfrom
claude/project-thread-vvr6bv

Conversation

@deflinhec

Copy link
Copy Markdown
Member

Requested by Danny · project thread

Why

Security audit follow-up: actions were referenced by tag. A tag can be moved, and these workflows run with the publish credentials.

What

  • Every action in the workflows is referenced by its full commit SHA, with the version in a comment. Each SHA is what the same tag pointed to today, so nothing changes in what runs. The organization's own reusable workflows are left as they are.
  • Where the repository had no Dependabot file, .github/dependabot.yml is added with a monthly grouped update for the actions only, which keeps the pins current.

Checks

  • All workflow files parse as YAML and no third-party uses: line is left on a tag.
  • CI on this pull request runs the pinned actions.

中文摘要:把工作流程里的 action 固定到 commit SHA(与今天 tag 指向的相同,执行内容不变),并让 Dependabot 每月更新一次这些固定值。


Generated by Claude Code

Every third-party and GitHub action in the workflows is referenced by its
full commit SHA, with the version it corresponds to in a comment, so a
moved tag cannot change what runs with the publish credentials. Dependabot
moves the pins once a month in one grouped pull request.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SHtsCFLBM3qp95nKz1j5L3
@deflinhec deflinhec self-assigned this Nov 13, 2026
@deflinhec
deflinhec marked this pull request as ready for review November 13, 2026 06:53
@deflinhec
deflinhec merged commit 51ca03b into main Nov 13, 2026
8 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