Repository navigation
Pin GitHub Actions to commit SHAs - #7175
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
All references resolve correctly, retain equivalent versions, and use valid Dependabot configuration.
Pull request overview
Pins GitHub Actions to immutable SHAs and configures Dependabot to maintain them securely.
Changes:
- Pins 14 action references with version comments.
- Pins two mutable branches to their current HEAD commits.
- Adds weekly Dependabot updates with a seven-day cooldown.
File summaries
| File | Description |
|---|---|
.github/workflows/add-to-project.yml |
Pins the project action. |
.github/workflows/auto-merge-openapi-updates.yml |
Pins checkout and Python setup actions. |
.github/workflows/linter.yml |
Pins all lint workflow actions. |
.github/workflows/release-notifier.yml |
Pins the notifier action. |
.github/workflows/release.yml |
Pins release workflow actions. |
.github/workflows/scripts-tests.yml |
Pins test workflow actions. |
.github/dependabot.yml |
Enables delayed weekly action updates. |
Review details
- Files reviewed: 7/7 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.
Intrvrt6
suggested changes
Sep 21, 2026
Intrvrt6
left a comment
There was a problem hiding this comment.
Pins GitHub Actions uses: references in github/rest-api-description to immutable commit SHAs.
Summary
| Metric | Count |
|---|---|
| Files changed | 7 |
| Files scanned | 6 |
| Refs found | 14 |
| Refs pinned | 14 |
| Skipped refs | 0 |
| Warnings | 2 |
| Errors | 0 |
Why
Pinning actions to full commit SHAs prevents future tag or branch retargeting from changing workflow behavior without review.
Reviewer notes
- Original refs are preserved in inline comments when possible.
- Pin comments use the Dependabot-compatible original-ref style.
- Branch refs were allowed and pinned to their current HEAD; review mutable-branch pins carefully.
- No minimum action age was enforced for this run.
Pinned refs
| Location | Before | After | Resolved as |
|---|---|---|---|
.github/workflows/add-to-project.yml:16 |
actions/add-to-project@main |
actions/add-to-project@cbad230d1debaae844a2c6f675327ab6c537e0f1 |
branch |
.github/workflows/auto-merge-openapi-updates.yml:76 |
actions/checkout@v4 |
actions/checkout@11d5960a326750d5838078e36cf38b85af677262 |
tag |
.github/workflows/auto-merge-openapi-updates.yml:89 |
actions/setup-python@v5 |
actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 |
tag |
.github/workflows/auto-merge-openapi-updates.yml:248 |
actions/checkout@v4 |
actions/checkout@11d5960a326750d5838078e36cf38b85af677262 |
tag |
.github/workflows/linter.yml:24 |
actions/checkout@v4 |
actions/checkout@11d5960a326750d5838078e36cf38b85af677262 |
tag |
.github/workflows/linter.yml:25 |
actions/setup-python@v5 |
actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 |
tag |
.github/workflows/linter.yml:34 |
actions/setup-node@v4 |
actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 |
tag |
.github/workflows/linter.yml:43 |
mattpage/redocly-cli-lint-action@v0.0.1 |
mattpage/redocly-cli-lint-action@63f131fbfd009e0e32d01ccae6dbfbed3706ad88 |
tag |
.github/workflows/release-notifier.yml:12 |
gr2m/release-notifier-action@v1 |
gr2m/release-notifier-action@914377cb876747d1ee435f7ba20bdf42bcda2316 |
branch |
.github/workflows/release.yml:17 |
actions/checkout@v2 |
actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e |
tag |
.github/workflows/release.yml:23 |
actions/create-release@v1 |
actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e |
tag |
.github/workflows/release.yml:33 |
actions/upload-release-asset@v1 |
actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 |
tag |
.github/workflows/scripts-tests.yml:23 |
actions/checkout@v4 |
actions/checkout@11d5960a326750d5838078e36cf38b85af677262 |
tag |
.github/workflows/scripts-tests.yml:24 |
actions/setup-python@v5 |
actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 |
tag |
Dependabot
- Added
.github/dependabot.ymlenabling weeklygithub-actionsupdates with a 7-day cooldown (cooldown: default-days: 7). - The cooldown delays applying a newly published action release for 7 days, reducing exposure to a compromised or broken release while keeping you SHA-pinned.
Warnings
| Location | Ref | Reason |
|---|---|---|
.github/workflows/add-to-project.yml:16 |
actions/add-to-project@main |
pinned mutable branch ref 'main' to cbad230d1deb; review carefully because the source branch can move |
.github/workflows/release-notifier.yml:12 |
gr2m/release-notifier-action@v1 |
pinned mutable branch ref 'v1' to 914377cb8767; review carefully because the source branch can move |
Generated by pinner 0.1.0.
shawnHartsell
approved these changes
Sep 24, 2026
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/rest-api-descriptionto 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/add-to-project.yml:16actions/add-to-project@mainactions/add-to-project@cbad230d1debaae844a2c6f675327ab6c537e0f1branch.github/workflows/auto-merge-openapi-updates.yml:76actions/checkout@v4actions/checkout@11d5960a326750d5838078e36cf38b85af677262tag.github/workflows/auto-merge-openapi-updates.yml:89actions/setup-python@v5actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065tag.github/workflows/auto-merge-openapi-updates.yml:248actions/checkout@v4actions/checkout@11d5960a326750d5838078e36cf38b85af677262tag.github/workflows/linter.yml:24actions/checkout@v4actions/checkout@11d5960a326750d5838078e36cf38b85af677262tag.github/workflows/linter.yml:25actions/setup-python@v5actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065tag.github/workflows/linter.yml:34actions/setup-node@v4actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020tag.github/workflows/linter.yml:43mattpage/redocly-cli-lint-action@v0.0.1mattpage/redocly-cli-lint-action@63f131fbfd009e0e32d01ccae6dbfbed3706ad88tag.github/workflows/release-notifier.yml:12gr2m/release-notifier-action@v1gr2m/release-notifier-action@914377cb876747d1ee435f7ba20bdf42bcda2316branch.github/workflows/release.yml:17actions/checkout@v2actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194etag.github/workflows/release.yml:23actions/create-release@v1actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70etag.github/workflows/release.yml:33actions/upload-release-asset@v1actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5tag.github/workflows/scripts-tests.yml:23actions/checkout@v4actions/checkout@11d5960a326750d5838078e36cf38b85af677262tag.github/workflows/scripts-tests.yml:24actions/setup-python@v5actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065tagDependabot
.github/dependabot.ymlenabling weeklygithub-actionsupdates with a 7-day cooldown (cooldown: default-days: 7).Warnings
.github/workflows/add-to-project.yml:16actions/add-to-project@main.github/workflows/release-notifier.yml:12gr2m/release-notifier-action@v1Generated by pinner 0.1.0.