Repository navigation
Pin third-party actions to commit SHAs - #20
Conversation
A moved or hijacked tag can no longer change what runs with the release token; Dependabot keeps the pins current.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Action pins and update schedule .github/dependabot.yml, .github/workflows/ci.yml, .github/workflows/release.yml |
Dependabot checks GitHub Actions monthly and groups matching updates under actions. The CI and release workflows replace action tags with commit SHA references. |
Priority:
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Other
Merge Risk: 
Minimal · up to 15447
-
No concrete merge-blocking risk is established by the supplied changes.
Pre-merge checks: 
5
-
Full details: Title check
-
Explanation
The title "Pin third-party actions to commit SHAs" matches the main change. The PR replaces mutable version tags with full commit SHAs for third-party GitHub Actions (taiki-e/create-gh-release-action in release.yml and Swatinem/rust-cache in ci.yml). It also adds a Dependabot configuration to keep those SHA pins updated. The title is specific, concise, and reflects the primary intent in the PR objectives.
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Pins
taiki-e/create-gh-release-action(v1.11.0) andSwatinem/rust-cache(v2.9.3) to full commit SHAs, keeping the version as a trailing comment, and adds a Dependabot config that bumps GitHub Actions pins in one grouped PR each month.Version tags such as
@v1can be moved, so a compromised upstream could change what runs in the release job, which hascontents: write. A SHA pin fixes the exact code. The same change landed in aps, cln, and homebased.Verified with
actionlint; each SHA was resolved from the tag it replaces, so the actions run unchanged.Summary by CodeRabbit