Repository navigation
feat: pin actions/checkout to SHA in deploy-pr-review.yml - #474
Conversation
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
Warning Review limit reached
More reviews will be available in 39 minutes and 41 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ 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 |
Dev-Lead — review-changes (no-changes)No changes were needed for this PR. |
There was a problem hiding this comment.
Pull request overview
Pins the actions/checkout action used by the deploy-pr-review.yml workflow to an immutable commit SHA to satisfy org CI compliance requirements around action pinning.
Changes:
- Replace
actions/checkout@v4with a commit-SHA-pinnedactions/checkout@df4cb1c...reference (annotated asv6.0.3) in the deploy workflow.
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
There was a problem hiding this comment.
Confirmed and corrected. Investigation shows that force-deploy-pr-review.yml was already SHA-pinned in main before this branch was cut — the compliance issue #439 had been addressed elsewhere. The actual unpinned action was in deploy-pr-review.yml (checkout@v4), which is what commit 779208f fixed.
Updated the PR title to feat: pin actions/checkout to SHA in deploy-pr-review.yml and revised the description to remove the incorrect Closes #439 linkage and accurately describe the change that was made.
There was a problem hiding this comment.
Verified: PR title is now feat: pin actions/checkout to SHA in deploy-pr-review.yml and the description no longer references Closes #439. The description correctly notes that force-deploy-pr-review.yml was already SHA-pinned and that this PR addresses the pinning gap in deploy-pr-review.yml. No further code changes needed.
There was a problem hiding this comment.
No further code changes required. The SHA-pinned checkout is already in place at line 23 of deploy-pr-review.yml (actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3). The PR title and description have been corrected by @don-petry as confirmed in the comments above — the title accurately reflects the change and the incorrect Closes #439 linkage has been removed. This thread was opened by a bot reviewer and is left for the bot to resolve.
There was a problem hiding this comment.
Verified as part of dev-lead review-response pass: the compliance finding is fully addressed. Line 23 of .github/workflows/deploy-pr-review.yml contains actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 (SHA-pinned). PR title is feat: pin actions/checkout to SHA in deploy-pr-review.yml and the description no longer references Closes #439. No code changes were needed. This thread was opened by a bot reviewer and per policy cannot be resolved by the dev-lead agent — leaving open for the bot to resolve.
There was a problem hiding this comment.
Dev-lead verification pass (no code changes needed): Line 23 of .github/workflows/deploy-pr-review.yml contains actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 (SHA-pinned). PR title is feat: pin actions/checkout to SHA in deploy-pr-review.yml and the description no longer references Closes #439 — it correctly notes that force-deploy-pr-review.yml was already SHA-pinned and that this PR addresses the pinning gap in deploy-pr-review.yml. This thread was opened by a bot reviewer and cannot be resolved by the dev-lead agent per policy; leaving open for the bot to resolve.
There was a problem hiding this comment.
Dev-lead review-response pass complete. No code changes were required: line 23 of .github/workflows/deploy-pr-review.yml already contains actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 (SHA-pinned), PR title is feat: pin actions/checkout to SHA in deploy-pr-review.yml, and the description no longer references Closes #439. The compliance finding is fully addressed. This thread was opened by a bot reviewer and cannot be resolved by the dev-lead agent per policy — leaving open for the bot to resolve.
There was a problem hiding this comment.
Dev-lead review-response pass (2026-06-10T00:01Z): no code changes needed. The SHA-pinned checkout is confirmed at line 23 of .github/workflows/deploy-pr-review.yml (actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3). PR title is feat: pin actions/checkout to SHA in deploy-pr-review.yml and the description no longer references Closes #439. This thread was opened by a bot reviewer and per policy cannot be resolved by the dev-lead agent — leaving open for the bot to resolve.
There was a problem hiding this comment.
Dev-lead review pass (2026-06-10): no action required. Line 23 of .github/workflows/deploy-pr-review.yml is SHA-pinned (actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3), the PR title accurately reflects the change, and the incorrect Closes #439 linkage is absent from the description. This thread was opened by a bot reviewer and cannot be resolved by the dev-lead agent per policy — leaving open for the bot to resolve.
There was a problem hiding this comment.
Dev-lead review-response pass confirmed: no code changes needed. Line 23 of .github/workflows/deploy-pr-review.yml is correctly SHA-pinned (actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3). PR title and description are accurate and do not reference Closes #439. This thread was opened by a bot reviewer and cannot be resolved by the dev-lead agent — leaving open for the bot to resolve.
Dev-Lead — rate-limited (intent: fix-bot-comment)PR: #474 |
|
Note @don-petry I received your request but all AI engines are currently rate-limited. Please re-mention |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: 3140f3b62b4d539aea9b312e09a4938e595993a3
Review mode: triage-approved (single reviewer)
Summary
Single-line SHA bump for actions/checkout in .github/workflows/deploy-pr-review.yml from 34e114876b0b11c390a56381ad16ebd13914f8d5 (v4.3.1) to df4cb1c069e1874edd31b4311f1884172cec0e10 (v6.0.3). Verified via gh api repos/actions/checkout/git/ref/tags/v6.0.3 that the new SHA dereferences to commit df4cb1c069e1874edd31b4311f1884172cec0e10. The new pin matches the dominant actions/checkout pin across the rest of .github/workflows/ (used by ci.yml, lint.yml, pr-review.yml, dev-lead-reusable.yml, and others), so this normalizes deploy-pr-review.yml with the rest of the repo. Triage already cleared this as low-risk; confirmation review confirms.
Linked issue analysis
No linked issues (closingIssuesReferences is empty). PR body references issue #439 as context (force-deploy-pr-review.yml already pinned; this PR addresses the same compliance finding in the adjacent deploy-pr-review.yml). The single-line change directly addresses that compliance posture.
Findings
- SHA pin verified (HIGH-risk surface, cleared):
actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10resolves to thev6.0.3tag annotation, which dereferences to that commit. The annotation comment# v6.0.3matches. - No code logic changes: only the action ref string changed; surrounding bash, env, permissions, and matrix are untouched.
- Consistency: the new pin matches the version used everywhere else in
.github/workflows/. - PR title nit (non-blocking): title says "pin actions/checkout to SHA" but the prior state was already SHA-pinned (to v4.3.1); the change is effectively a version bump. Not worth blocking on.
- Advisory bots: Codex was rate-limited, Gemini cannot review YAML, SonarCloud quality gate passed — no actionable findings from third parties.
CI status
All required checks green. Successes include CI (Lint, ShellCheck, Agent Security Scan, Compile agentic workflows, Secret scan (gitleaks)), CodeQL (actions, python), Tests (unit-tests), Lint (shellcheck, bats, validate-agent-profiles, gh-aw-compile), AgentShield, SonarCloud, and Dependency audit (Detect ecosystems). Skipped checks (dependabot-automerge, npm/pnpm/govulncheck/cargo/pip-audit) are expected (PR is not a Dependabot PR and the touched files have no matching ecosystem). The only in-progress check is review / review (this review).
Reviewed automatically by the PR-review agent (single-reviewer mode: opus 4.7). Reply if you need a human review.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
1 similar comment
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: a8e013b347a0fccf5342241e9c697bcebe3a62c0
Review mode: triage-approved (single reviewer)
Summary
Confirms the triage assessment. The PR is a one-line change to .github/workflows/deploy-pr-review.yml that swaps actions/checkout@34e11487... (v4.3.1) for actions/checkout@df4cb1c0... (v6.0.3). Both before and after values are SHA-pinned references to the upstream actions/checkout action, so the change does not weaken the org SHA-pinning posture — it bumps the pinned version. Since the prior approval at 3140f3b6, the head has advanced only through merges from main (no new source changes), so the substance under review is unchanged.
Linked issue analysis
No closingIssuesReferences is set, but the PR body explains the relationship to issue #439: that issue covered force-deploy-pr-review.yml (already SHA-pinned in main); this PR closes the same compliance gap in the adjacent deploy-pr-review.yml. The motivation aligns with the repo's documented standard that "SHAs for action pinning must be looked up via the GitHub API — never guessed" (CLAUDE.md).
Findings
- No findings. Single-line workflow edit, both old and new refs are SHA-pinned, no behavioral change beyond the action version bump.
mergeStateStatusisBEHINDbutmergeableisMERGEABLE; the open merge commits in the history are routinemainmerges with no diff impact on the change itself.- No unanswered human-reviewer questions; outstanding bot/CodeRabbit/Codex comments are rate-limit notices, not change requests.
CI status
All required checks green: Lint, ShellCheck, shellcheck, bats, unit-tests, Agent Security Scan, Secret scan (gitleaks), CodeQL (actions + python), SonarCloud, AgentShield, Compile agentic workflows, validate-agent-profiles, gh-aw-compile, and CodeRabbit all SUCCESS. dependency-audit ecosystem jobs SKIPPED (no language detected) and dependabot-automerge SKIPPED (not a Dependabot PR) — both expected. review / review is the current run.
Reviewed automatically by the PR-review agent (single-reviewer mode: opus 4.7). Reply if you need a human review.
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: 03e23b6ab650cf32c5cd78cb0133ce870ac7c576
Review mode: triage-approved (single reviewer)
Summary
One-line workflow change: pins actions/checkout in .github/workflows/deploy-pr-review.yml from @v4 to @df4cb1c069e1874edd31b4311f1884172cec0e10 (v6.0.3) to satisfy the org action-pinning compliance requirement. Triage tier classified as low-risk; this is a confirmation review.
Linked issue analysis
No linked closing issue, but the PR body explicitly references the same compliance finding originally tracked in #439 (for the sibling force-deploy-pr-review.yml). The change is exactly what the description claims — replacing the floating v4 tag with a SHA pin for v6.0.3.
Findings
- SHA verified against the GitHub API:
df4cb1c069e1874edd31b4311f1884172cec0e10is the commit thatactions/checkouttagv6.0.3dereferences to. Pin is correct and immutable. - Inline comment
# v6.0.3matches the resolved tag. - Diff is minimal (1 addition / 1 deletion, single file), no behavioural change beyond bumping checkout v4 → v6 with a SHA pin.
- No security, secret, migration, or org-standard concerns.
- No unresolved human-reviewer threads.
CI status
20 SUCCESS, 7 SKIPPED, 2 CANCELLED (the cancelled entries are superseded review / review runs from earlier cycles — expected when the cascade re-triggers). No failing checks; AgentShield, CodeQL (actions + python), Lint, ShellCheck, SonarCloud, unit-tests, validate-agent-profiles, Agent Security Scan, CodeRabbit all green.
Reviewed automatically by the PR-review agent (single-reviewer mode: opus 4.7). Reply if you need a human review.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
1 similar comment
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: 6de1dcd382c9db6fb224a8ebd8ea72579cbde550
Review mode: triage-approved (single reviewer)
Summary
Single-file workflow edit bumping actions/checkout in .github/workflows/deploy-pr-review.yml from a SHA pin at v4.3.1 to a SHA pin at v6.0.3, matching the version already in use by the sister force-deploy-pr-review.yml workflow. Confirmed the new SHA df4cb1c069e1874edd31b4311f1884172cec0e10 resolves to the upstream v6.0.3 tag on actions/checkout via the GitHub API. No code paths beyond the deploy workflow are affected.
Linked issue analysis
No Closes reference is set, which matches the PR body: issue #439 targets the force-deploy variant (already SHA-pinned on main), and this PR cleans up the adjacent deploy-pr-review.yml for the same compliance class. The PR body wording ("pin to an immutable SHA") slightly understates the change — the file was already SHA-pinned, this is a version bump that keeps both deploy workflows on a single shared SHA. Substantively aligned with the action-pinning policy in standards/ci-standards.md.
Findings
No blocking issues. Minor note: the PR description could more accurately frame this as a version-alignment bump rather than a first-time pin, but the diff itself is correct and compliant.
CI status
All required checks green: 19 SUCCESS (CodeQL, SonarCloud, Lint, ShellCheck, bats, unit-tests, Agent Security Scan, AgentShield, validate-agent-profiles, gitleaks, etc.), 8 SKIPPED (dependabot-automerge, ecosystem-conditional audits, ci-relay), 1 CodeRabbit StatusContext at SUCCESS. mergeStateStatus is BLOCKED only because no human review is recorded — this approval addresses that.
Reviewed automatically by the PR-review agent (single-reviewer mode: opus 4.7). Reply if you need a human review.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
1 similar comment
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Dev-Lead — waiting on PR blockers (intent: review-changes)PR: #474 |
|
Note @don-petry I reviewed this PR and no code changes were needed, but it still has blocking checks or reviews (failing or cancelled checks, or changes-requested reviews), so I cannot mark it done yet. I'll re-check automatically. |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Claude will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
Dev-Lead — rebase (no-changes)Agent reasoning |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: a828f8a809bbb69acc7affd549cbd0d2a23a71bf
Cascade: triage → audit (triage: haiku 4.5 → deep: sonnet 4.6 + duck: o4-mini → audit: opus 4.7)
Summary
PR #474 is already merged (state=MERGED, mergedAt=2026-06-10T13:04:23Z, merge_commit_sha=a828f8a8 = main HEAD) with zero actual changes — head_sha equals base_sha, 0 commits, 0 changed files, branch deleted. The target file deploy-pr-review.yml was retired from main by commit bda5d89 before the PR's effective merge. Critically, the deep review's HIGH-severity claim that the pinned SHA df4cb1c0... was 'fabricated' and that actions/checkout has no v6.0.3 is FACTUALLY WRONG: v6.0.3 was published 2026-06-02 and the annotated tag dereferences to exactly that commit (verified via gh api repos/actions/checkout/git/tags/9f69817...). No security exposure remains; no action possible on an already-merged no-op PR.
Findings
- INFO: PR is closed and marked merged with merge_commit_sha == head_sha == base_sha == a828f8a (current main HEAD). 0 commits, 0 additions, 0 deletions, 0 changed files. The head branch dev-lead/issue-439-20260608-0044 no longer exists. The 'merge commit' a828f8a is in fact commit #543 ('fix(pr-review): stop cancelling racing same-PR review runs') on main — GitHub auto-closed this PR as merged because its head was reachable from base after sync-merges from main overtook the branch.
- INFO: Deep review claimed actions/checkout v6.0.3 does not exist and the SHA df4cb1c069e1874edd31b4311f1884172cec0e10 was 'fabricated or incorrectly computed'. Verified against upstream API: tag v6.0.3 was published 2026-06-02 (release id 333171095, author yaananth), annotated tag object 9f698171ed81b15d1823a05fc7211befd50c8ae0 dereferences to commit df4cb1c069e1874edd31b4311f1884172cec0e10. The SHA/version pair in the PR was correct. The likely cause of the deep review error is its training-cutoff prior ("max stable is v4") not matching the current state of the upstream repo as of 2026-06.
- MAJOR: deploy-pr-review.yml was removed from main by commit bda5d89 ('chore: retire deploy-pr-review, force-deploy, and pr-review-reusable wrappers') prior to this PR being marked merged. The file no longer exists in the default branch (HTTP 404 from contents API). Even setting aside the no-op merge, the PR's stated objective is moot. (
.github/workflows/deploy-pr-review.yml) - MINOR: Issue #439 referenced in the PR body and head branch name targets force-deploy-pr-review.yml. The dev-lead agent that produced the original branch acted on the adjacent deploy-pr-review.yml instead. The compliance gap for the actual referenced file was already addressed elsewhere (per deep-review note: PR #473 / commit ff4c6b0). Recommend closing issue #439 as 'file retired / no longer applicable'.
- INFO: statusCheckRollup is null on the current head SHA; CI never ran against the empty post-overtake state. Earlier branch states (per prior bot review comments at SHAs f79ba47, 3140f3b, 03e23b6, 6de1dcd) showed all required checks green, including AgentShield, CodeQL (actions+python), gitleaks, SonarCloud, and ShellCheck. No security-relevant check failures on record.
Reviewed by the PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: o4-mini → audit: opus 4.7). Reply if you need a human review.



Pin
actions/checkoutto an immutable commit SHA in.github/workflows/deploy-pr-review.ymlto satisfy org CI compliance requirements around action pinning.Note:
force-deploy-pr-review.yml(the subject of issue #439) was already correctly SHA-pinned in main before this branch was cut. This PR addresses the same compliance finding in the adjacentdeploy-pr-review.yml, which still hadactions/checkout@v4.Implemented by dev-lead agent. Please review.