Pin GitHub Actions to commit SHAs - #60061
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The added Dependabot entry makes the YAML invalid due to inconsistent sequence indentation.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Pins GitHub Actions dependencies to immutable SHAs and configures automated updates.
Changes:
- Pins three action references while preserving version comments.
- Adds weekly Dependabot updates with a seven-day cooldown.
File summaries
| File | Description |
|---|---|
.github/workflows/error-message-lint.yml |
Pins checkout and Go setup actions. |
.github/workflows/publish-safe-outputs-node.yml |
Pins the checkout action. |
.github/dependabot.yml |
Adds GitHub Actions updates and cooldown. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+3
to
+8
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| cooldown: | ||
| default-days: 7 |
This was referenced Sep 11, 2026
Contributor
|
🎉 This pull request is included in a new release. Release: |
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/gh-awto 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/error-message-lint.yml:23actions/checkout@v4actions/checkout@11d5960a326750d5838078e36cf38b85af677262tag.github/workflows/error-message-lint.yml:28actions/setup-go@v5actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1bafftag.github/workflows/publish-safe-outputs-node.yml:32actions/checkout@v7.0.0actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0tagDependabot
github-actionsentry (weekly updates, 7-day cooldown) to the existing Dependabot configuration.Generated by pinner 0.1.0.