Pin GitHub Actions to commit SHAs - #197
Open
github-security-bot wants to merge 1 commit into
Open
github-security-bot wants to merge 1 commit into
github-security-bot wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
All 10 action references use valid full commit SHAs matching the documented releases.
Pull request overview
Pins all workflow actions to verified immutable commit SHAs, reducing supply-chain risk.
Changes:
- Pins checkout, Node setup, and CodeQL actions.
- Preserves release versions in inline comments.
File summaries
| File | Description |
|---|---|
.github/workflows/test.yml |
Pins test workflow actions. |
.github/workflows/publish.yml |
Pins publishing workflow actions. |
.github/workflows/dependency-submission-example.yml |
Pins example workflow actions. |
.github/workflows/codeql-analysis.yml |
Pins checkout and CodeQL actions. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Pins GitHub Actions
uses:references ingithub/dependency-submission-toolkitto immutable commit SHAs.Summary
Why
Pinning actions to full commit SHAs prevents future tag or branch retargeting from changing workflow behavior without review.
Reviewer notes
Pinned refs
.github/workflows/codeql-analysis.yml:41actions/checkout@v5actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09tag.github/workflows/codeql-analysis.yml:45github/codeql-action/init@v4github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63tag.github/workflows/codeql-analysis.yml:59github/codeql-action/autobuild@v4github/codeql-action/autobuild@b96794f015dfd88f77b49b1c93e0fa7110f94c63tag.github/workflows/codeql-analysis.yml:72github/codeql-action/analyze@v4github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63tag.github/workflows/dependency-submission-example.yml:12actions/checkout@v5actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09tag.github/workflows/dependency-submission-example.yml:13actions/setup-node@v6actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38tag.github/workflows/publish.yml:15actions/checkout@v5actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09tag.github/workflows/publish.yml:16actions/setup-node@v6actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38tag.github/workflows/test.yml:20actions/checkout@v5actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09tag.github/workflows/test.yml:21actions/setup-node@v6actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38tagWarnings
.github/dependabot.ymlGenerated by pinner 0.1.0.