chore: pin GitHub Actions to commit shas BED-7914#187
chore: pin GitHub Actions to commit shas BED-7914#187
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughMultiple GitHub Actions Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/build.yml:
- Line 16: The workflow uses mutable major tags like actions/checkout@v6 (and
other actions at the listed lines) which must be replaced with SHA-pinned refs;
update each occurrence (e.g., actions/checkout@v6, any actions at lines
referenced such as the ones at 19,36,39,47,56,61,71,74,77,90,96,121,124,153) to
the corresponding verified commit SHA (actions/<name>@<sha>) so the workflow is
fully pinned and repeatable—locate each uses: entry in the YAML and replace the
tag with the exact commit SHA from the action's GitHub repository.
In @.github/workflows/publish.yml:
- Line 26: Multiple workflow steps use floating action tags (e.g., uses:
actions/checkout@v6) which should be pinned to immutable 40-character commit
SHAs; update every uses: entry in .github/workflows/publish.yml (including
actions/checkout@v6 and the other eleven action refs) to their corresponding
full commit SHA (format: actions/owner/repo@<40-char-sha>) so each uses: line
references a specific commit, not a version tag, ensuring all 12 action refs are
replaced with their exact commit SHAs.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 514239b9-f1f9-4874-bb32-59014e1a914f
📒 Files selected for processing (2)
.github/workflows/build.yml.github/workflows/publish.yml
Resolves: BED-7914
Updates actions to latest versions and pins them by git commit SHA for security hardening
Summary by CodeRabbit