This repository was archived by the owner on May 29, 2026. It is now read-only.
chore(agents-md): require SHA-pin for third-party GitHub Actions - #60
Merged
Conversation
Replaces the prior reactive policy ("pin to SHA only after a
tag-moving incident") with a proactive one: third-party actions
must be SHA-pinned with a `# vX.Y.Z` comment so Dependabot keeps
bumping them. GitHub-owned actions (actions/*, github/*) may
keep tags, with SHA pin preferred for defense-in-depth.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated AGENTS.md to require pinning third-party GitHub Actions to full commit SHAs with Dependabot version comments. GitHub-owned actions may use version tags with SHA pinning preferred. Replaced prior guidance about tracking actions by latest stable tag. ChangesGitHub Actions Pinning Policy
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
# vX.Y.Zcomment (Dependabot still bumps SHA+comment together).Why
Tag references can be silently rewritten by a compromised maintainer account. SHA pins are immutable. Dependabot supports SHA bumps when a `# vX.Y.Z` comment is present, so maintenance cost stays low.
This change also corrects a self-inflicted bug surfaced in #59: I'd interpreted §14 as forbidding SHA pins on github-owned actions, which led to a tag-revert commit. The new wording removes that ambiguity.
Follow-up (not in this PR)
🤖 Generated with Claude Code