Repository navigation
Pin workflow actions to commits - #10
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
.github/dependabot.ymlis added with a monthly grouped update for the actions only, which keeps the pins current.Checks
uses:line is left on a tag.中文摘要:把工作流程里的 action 固定到 commit SHA(与今天 tag 指向的相同,执行内容不变),并让 Dependabot 每月更新一次这些固定值。
Generated by Claude Code