Pin GitHub Actions to commit SHAs - #1778
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 external action references are valid full-length SHAs, and the Dependabot configuration is correctly scoped.
Pull request overview
Pins GitHub Actions to immutable SHAs to improve workflow supply-chain security.
Changes:
- Pins all checkout and setup-node references.
- Preserves release versions in inline comments.
- Adds a seven-day Dependabot cooldown.
File summaries
| File | Description |
|---|---|
.github/workflows/test.yml |
Pins test workflow actions. |
.github/workflows/integration-test.yml |
Pins integration-test actions. |
.github/workflows/dependabot-build.yml |
Pins Dependabot build actions. |
.github/workflows/dependabot-build-dispatched.yml |
Pins dispatched build actions. |
.github/workflows/check-dist.yml |
Pins distribution-check actions. |
.github/dependabot.yml |
Adds the GitHub Actions 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/dependabot-actionto 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/check-dist.yml:17actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/check-dist.yml:19actions/setup-node@v7actions/setup-node@820762786026740c76f36085b0efc47a31fe5020tag.github/workflows/check-dist.yml:34actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/dependabot-build-dispatched.yml:23actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/dependabot-build-dispatched.yml:28actions/setup-node@v7actions/setup-node@820762786026740c76f36085b0efc47a31fe5020tag.github/workflows/dependabot-build.yml:40actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/dependabot-build.yml:47actions/setup-node@v7actions/setup-node@820762786026740c76f36085b0efc47a31fe5020tag.github/workflows/integration-test.yml:16actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/integration-test.yml:18actions/setup-node@v7actions/setup-node@820762786026740c76f36085b0efc47a31fe5020tag.github/workflows/test.yml:16actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/test.yml:18actions/setup-node@v7actions/setup-node@820762786026740c76f36085b0efc47a31fe5020tagDependabot
cooldown: default-days: 7) to the existinggithub-actionsDependabot configuration.Generated by pinner 0.1.0.