Repository navigation
feat: implement issue #272 — Compliance: dev-lead-stub-pin - #297
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
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 38 minutes and 51 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL 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 |
commented
Jun 19, 2026
Dev-Lead — review-changes (applied)Changes committed and pushed. |
commented
Jun 19, 2026
Dev-Lead — review-changes (no-changes)No changes were needed for this PR. |
commented
Jun 19, 2026
CI Failure: SonarCloud Code AnalysisStep: SonarCloud Quality Gate The SonarCloud quality gate failed because Suggested fix: Resolve the commit SHA that |
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: e9a359b23972de09ee724a67f8072b7dd8487a86
Review mode: triage-approved (single reviewer)
Summary
Single-file change to .github/workflows/dev-lead.yml (+11/-5) that re-pins the dev-lead-reusable.yml caller stub to the dev-lead/stable release channel and threads agent_ref: dev-lead/stable into the reusable workflow. This is a compliance remediation, not a behavioral change. The uses: ref is pinned to an immutable commit SHA (3f9e5808) with a # dev-lead/stable trailing comment, matching the org SHA-pin convention. Triage cleared this as low-risk; this confirmation review agrees.
Linked issue analysis
Closes #272 — a weekly-compliance-audit finding (dev-lead-stub-pin, severity error) requiring the caller stub to pin the reusable workflow to the dev-lead/stable channel, re-synced from the standard. The PR addresses it directly: it pins to commit 3f9e5808 (the exact commit the dev-lead/stable tag currently resolves to) with the channel name as the trailing comment, and adds the agent_ref: dev-lead/stable input. Substantively resolved.
Findings
Verified the supply-chain-sensitive aspects of this Actions change:
- SHA is a real commit, not a tag object.
3f9e5808b5f3965c96f5698b0d8ff46550b45ba7resolves via the git/commits API to commit #640 (Dependabot actions-group bump, 2026-06-13). The stale ci-analyst/SonarCloud comment speculating it was an annotated-tag object SHA was incorrect — and it was posted against the older commit (3342721), which the head commite9a359bsuperseded. - Trailing comment is accurate. The
dev-lead/stabletag is a lightweight tag pointing directly at3f9e5808, souses: ...@3f9e5808 # dev-lead/stableis internally consistent and immutably pinned. - Permissions unchanged. The only change to the permissions block is removal of an inline comment on
statuses: read; no scope was added.secrets: inheritis unchanged from the prior stub. - agent_ref floats on the channel by design. The reusable workflow YAML is SHA-pinned for supply-chain safety; the inner scripts/prompts checkout uses the moving
dev-lead/stabletag. This is the documented org pattern (ci-standards.md#dev-lead-agent, referenced by #272) that avoids the self-host circular dependency where a broken dev-lead change would gate its own fix. Compliant by design, not a smell. - Secret scan: gitleaks CI check is green; the MCP
run_secret_scanningtool was not grantable in this non-interactive run, so it was skipped (no fabricated result). Changed content is workflow YAML with only SHA pins — no secret material.
CI status
All checks green on the reviewed head e9a359b: CodeQL (actions + python), SonarCloud / Quality Gate passed, gitleaks secret scan, AgentShield, dependency-audit, CodeRabbit. No failures; remaining entries are SKIPPED conditional jobs. mergeStateStatus is BLOCKED only on the required human/org-leads review, which this approval addresses.
Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: e9a359b23972de09ee724a67f8072b7dd8487a86
Review mode: triage-approved (single reviewer)
Summary
Single-file change to .github/workflows/dev-lead.yml (+11/-5) re-pinning the dev-lead-reusable.yml caller stub from @main to the dev-lead/stable release channel and threading agent_ref: dev-lead/stable into the reusable workflow. Compliance remediation for #272, not a behavioral change. Triage cleared this as low-risk; this confirmation review independently verified the supply-chain-sensitive aspects and agrees.
Linked issue analysis
Closes #272 — a compliance-audit finding (dev-lead-stub-pin) requiring the caller stub to pin the reusable workflow to the dev-lead/stable channel. The PR addresses it directly: it pins uses: to commit 3f9e5808 with a # dev-lead/stable trailing comment and adds the agent_ref: dev-lead/stable input. Substantively resolved.
Findings
Independently verified the Actions-security aspects of this change:
- SHA is a real commit, not a tag object. 3f9e5808b5f3965c96f5698b0d8ff46550b45ba7 resolves via the git/commits API to commit #640 (Dependabot actions-group bump, 2026-06-13). The stale ci-analyst/SonarCloud comment speculating it was an annotated-tag-object SHA was incorrect; it was also posted against the superseded commit 3342721, and SonarCloud is now green on head e9a359b.
- Tag is lightweight and consistent. refs/tags/dev-lead/stable resolves with object.type=commit pointing directly at 3f9e5808, so uses: ...@3f9e5808 # dev-lead/stable is internally consistent and immutably pinned.
- agent_ref input is valid. The reusable workflow at the pinned SHA declares agent_ref (workflow_call input, optional, default main), so with: agent_ref: dev-lead/stable is accepted. This implements the documented self-host pin pattern (#535/#506): the YAML is SHA-pinned for supply-chain safety while the inner scripts checkout follows the moving channel — compliant by design, not a smell.
- Permissions unchanged. The only change to the permissions block is removal of an inline comment on statuses: read; no scope was added. secrets: inherit is unchanged.
- Secret scan: gitleaks CI check is green; the MCP run_secret_scanning tool was not grantable in this non-interactive run, so it was skipped (no fabricated result). Changed content is workflow YAML with only SHA pins — no secret material.
CI status
All checks green on head e9a359b: CodeQL (actions + python), SonarCloud / Quality Gate, gitleaks secret scan, AgentShield, dependency-audit, CodeRabbit. Remaining entries are SKIPPED conditional jobs. mergeStateStatus is BLOCKED only on the required review, which this approval addresses. reviewDecision already APPROVED.
Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.
Superseded by automated re-review at e9a359b.
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: e9a359b23972de09ee724a67f8072b7dd8487a86
Review mode: triage-approved (single reviewer)
Summary
Single-file change to .github/workflows/dev-lead.yml (+11/-5) re-pinning the dev-lead-reusable.yml caller stub from @main to the dev-lead/stable release channel and threading agent_ref: dev-lead/stable into the reusable workflow. Compliance remediation for #272 (dev-lead-stub-pin), not a behavioral change. Triage cleared this as low-risk; this confirmation review independently verified the supply-chain-sensitive aspects via the GitHub API and agrees.
Linked issue analysis
Closes #272 — a compliance-audit finding (dev-lead-stub-pin) requiring the caller stub to pin the reusable workflow to the dev-lead/stable channel. The PR addresses it directly: it changes uses: from @main to commit 3f9e5808 with a '# dev-lead/stable' trailing comment and adds the agent_ref: dev-lead/stable input. Substantively resolved.
Findings
Independently verified the Actions-security aspects of this change (did not rely on the prior bot reviews):
- SHA is a real commit, not a tag object. The git/commits API resolves 3f9e5808b5f3965c96f5698b0d8ff46550b45ba7 to commit #640 (Dependabot actions-group bump, 2026-06-13). The ci-analyst/SonarCloud comment speculating it was an annotated-tag-object SHA was incorrect AND was posted against the superseded commit 3342721; SonarCloud is green on current head e9a359b.
- Tag is lightweight and consistent. refs/tags/dev-lead/stable resolves with object.type=commit pointing directly at 3f9e5808, so 'uses: ...@3f9e5808 # dev-lead/stable' is internally consistent and immutably pinned.
- agent_ref input is valid. The reusable workflow at the pinned SHA declares agent_ref (workflow_call input, type string, optional, default main) and consumes it for the dev-lead scripts checkout (ref: ${{ inputs.agent_ref }}). So with: agent_ref: dev-lead/stable is accepted. This implements the documented self-host pin pattern (#535/#506): the workflow YAML is SHA-pinned for supply-chain safety while the inner scripts checkout follows the moving channel — compliant by design, not a smell.
- Permissions unchanged. The only edit to the permissions block is removal of an inline comment on 'statuses: read'; no scope added. secrets: inherit unchanged.
- Secret scan: gitleaks CI check is green; the MCP run_secret_scanning tool was not grantable in this non-interactive run, so it was skipped (no fabricated result). Changed content is workflow YAML with only SHA pins — no secret material.
- Advisory bots produced no substantive findings: Codex (usage limit), Gemini (unsupported file type), CodeRabbit (rate limited).
CI status
All required checks green on head e9a359b: CodeQL (actions + python), SonarCloud / Quality Gate, gitleaks secret scan, AgentShield, dependency-audit, dev-lead dispatch, pr-auto-review, CodeRabbit. Remaining entries are SKIPPED conditional jobs. reviewDecision is already APPROVED; mergeStateStatus BLOCKED reflects the required review gate only.
Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.
Superseded by automated re-review at e9a359b.
commented
Jun 20, 2026
|
commented
Jun 20, 2026
Dev-Lead — review-changes (no-changes)No changes were needed for this PR. |
commented
Jun 20, 2026
CI Failure: SonarCloud Code AnalysisStep: SonarCloud Code Analysis (external quality gate) The PR changes Suggested fix: Verify that |



Closes #272
Implemented by dev-lead agent. Please review.