chore: add version comments to SHA-pinned GitHub Actions#4591
Conversation
Summary by CodeRabbit
WalkthroughThis PR adds inline version comments to SHA-pinned GitHub Actions across eight workflow files. The comments document the action versions (e.g., Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/check-pr-issue.yaml (1)
25-25: Use the agreed# vX.Y.Zformat here as well.
Line 25 uses# 0.1.5; this should be# v0.1.5to keep annotation format consistent across workflows.Suggested diff
- uses: arkid15r/check-pr-issue-action@09f681e4d30d66e3ba085dfbbf7e07e0b3e4e263 # 0.1.5 + uses: arkid15r/check-pr-issue-action@09f681e4d30d66e3ba085dfbbf7e07e0b3e4e263 # v0.1.5🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/check-pr-issue.yaml at line 25, Update the version annotation comment for the check-pr-issue action to use the agreed "# vX.Y.Z" format: find the uses entry 'arkid15r/check-pr-issue-action@09f681e4d30d66e3ba085dfbbf7e07e0b3e4e263' and change the trailing comment from "# 0.1.5" to "# v0.1.5" so the workflow annotations are consistent across files.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In @.github/workflows/check-pr-issue.yaml:
- Line 25: Update the version annotation comment for the check-pr-issue action
to use the agreed "# vX.Y.Z" format: find the uses entry
'arkid15r/check-pr-issue-action@09f681e4d30d66e3ba085dfbbf7e07e0b3e4e263' and
change the trailing comment from "# 0.1.5" to "# v0.1.5" so the workflow
annotations are consistent across files.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 55a8bfa2-7a5b-426e-b3e8-7d63e81a9ae7
📒 Files selected for processing (8)
.github/workflows/check-pr-issue.yaml.github/workflows/label-issues.yaml.github/workflows/label-pull-requests.yaml.github/workflows/run-ci-cd.yaml.github/workflows/run-code-ql.yaml.github/workflows/run-fuzz-tests.yaml.github/workflows/setup-backend-environment/action.yaml.github/workflows/update-nest-test-images.yaml
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4591 +/- ##
=======================================
Coverage 98.92% 98.92%
=======================================
Files 527 527
Lines 16956 16956
Branches 2360 2360
=======================================
Hits 16774 16774
Misses 97 97
Partials 85 85
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|



Proposed change
Resolves #4542
Description:
This PR adds human-readable version tags as comments to all currently SHA-pinned GitHub Actions across our CI/CD workflows.
While SHA pinning is excellent for security and reproducibility, it obscures which version of an action is actively being used. By appending version tags (e.g.,
# v4.1.0), this PR improves:Changes made:
.github/workflows/*.yamlto their corresponding official release tags on GitHub.# vX.Y.Zformat to alluses:statements pinned by SHA.Checklist
make check-testlocally: all warnings addressed, tests passed