chore: pin third-party GitHub Actions to SHAs + enable Dependabot#4444
chore: pin third-party GitHub Actions to SHAs + enable Dependabot#4444mahangu wants to merge 2 commits into
Conversation
Hardens against supply-chain risk on mutable tags. Dependabot keeps the pinned SHAs fresh weekly, with major bumps held under cooldown. Tracking: DEVPROD-1072
Generated by 🚫 Danger |
There was a problem hiding this comment.
Pull request overview
This PR hardens the repository’s GitHub Actions supply chain by pinning a third-party action to an immutable commit SHA and adding a Dependabot configuration to keep GitHub Actions dependencies up to date.
Changes:
- Pin
anthropics/claude-code-actionto a specific commit SHA (with the original version retained as a comment). - Add
.github/dependabot.ymlto enable weekly, groupedgithub-actionsupdates with separate major vs minor/patch groupings.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/claude-review.yml |
Pins the Claude review action to a commit SHA to reduce the risk of tag drift/supply-chain tampering. |
.github/dependabot.yml |
Enables Dependabot updates for GitHub Actions with grouping to reduce PR noise. |
|
|
||
| - name: PR Review with Progress Tracking | ||
| uses: anthropics/claude-code-action@v1 | ||
| uses: anthropics/claude-code-action@787c5a0ce96a9a6cfb050ea0c8f4c05f2447c251 # v1.0.133 |
There was a problem hiding this comment.
Thanks for checking this. Those refs are intentionally outside this PR’s pinning scope: this campaign pins third-party actions, while GitHub-owned actions/* refs and Automattic-owned reusable workflows such as the run-danger.yml ...@v1 ref are treated as first-party. This PR pins the third-party action ref and adds Dependabot coverage for GitHub Actions, so I’m leaving those first-party refs unchanged.
e74fb75 to
f1df9d7
Compare
Two-in-one hardening:
github-actionsconfig (weekly, grouped intoactions-minor-patchandactions-major, with cooldown).Tracking: DEVPROD-1072.