Repository navigation
ci: pin actions to SHAs and limit contents:write to the release job - #21
Conversation
Pin actions to commit SHAs, pass expressions to shell via env, and scope tokens/permissions to what each job uses. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
[Medium impact] The PR appears safe to merge. Reviews (1) · Last reviewed commit: "ci: harden GitHub Actions workflows" · Reviewed by Greptile |
Summary
release.yml: workflow default iscontents: read; only thereleasejob getscontents: write, sovalidate(build, test, lint) runs read-only.uses:reference to a full commit SHA (with the version as a comment), so a moved tag can't change what CI runs. Generated withpinact; no behavior change.Review & Testing Checklist for Human
Notes
actionlintpasses on the changed workflows (runner-label warnings only). CI on this PR exercises them.Link to Devin session: https://app.devin.ai/sessions/9b3bc60266c8406ea8c2b26d7bea9587
Open in Devin Desktop: https://app.devin.ai/desktop/session/9b3bc60266c8406ea8c2b26d7bea9587?variant=devin
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.🟢 Devin Review found nothing to fix · View findings
Summary by CodeRabbit