Pin GitHub Actions to commit SHAs - #3747
Open
github-security-bot wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
馃煝 Approval recommended
The SHAs match their documented tags, all action references are immutable, and the changed YAML parses successfully.
Pull request overview
Pins all mutable GitHub Actions references to verified, immutable commit SHAs.
Changes:
- Pins 12 action references with version comments.
- Adds a seven-day Dependabot cooldown for Actions updates.
File summaries
| File | Description |
|---|---|
.github/workflows/tests.yml |
Pins test workflow actions. |
.github/workflows/stale.yml |
Pins the stale action. |
.github/workflows/link-check.yml |
Pins link-check actions. |
.github/workflows/jekyll.yml |
Pins Pages build and deployment actions. |
.github/workflows/codeql.yml |
Pins checkout and CodeQL actions. |
.github/dependabot.yml |
Adds the Actions update cooldown. |
Review details
- Files reviewed: 6/6 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/opensource.guideto 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.yml:55actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/codeql.yml:58github/codeql-action/init@v4github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63tag.github/workflows/codeql.yml:75github/codeql-action/analyze@v4github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63tag.github/workflows/jekyll.yml:30actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/jekyll.yml:32actions/configure-pages@v6.0.0actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0dtag.github/workflows/jekyll.yml:40actions/upload-pages-artifact@v5.0.0actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9tag.github/workflows/jekyll.yml:51actions/deploy-pages@v5.0.1actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346tag.github/workflows/link-check.yml:14actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/link-check.yml:20actions/setup-node@v7.0.0actions/setup-node@820762786026740c76f36085b0efc47a31fe5020tag.github/workflows/stale.yml:14actions/stale@v11.0.0actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93tag.github/workflows/tests.yml:14actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/tests.yml:20actions/setup-node@v7.0.0actions/setup-node@820762786026740c76f36085b0efc47a31fe5020tagDependabot
cooldown: default-days: 7) to the existinggithub-actionsDependabot configuration.Generated by pinner 0.1.0.