Repository navigation
chore: cut .github ring0 dogfood callers to local refs (#541) - #542
Conversation
.github is the ring0 dogfood tier — its own callers should run the latest reusable code via a local ref so regressions surface at the source. Two were frozen on a stale @v2 cross-repo tag and weren't dogfooding; cut them over to the local-ref form already used by auto-rebase/dependabot-rebase/pr-review-mention: agent-shield.yml @v2 -> ./.github/workflows/agent-shield-reusable.yml dependabot-automerge.yml @v2 -> ./.github/workflows/dependabot-automerge-reusable.yml Verified against HEAD reusables: agent-shield inputs are all optional; dependabot-automerge's required secrets (APP_ID/APP_PRIVATE_KEY) are already supplied via the stub's `secrets: inherit` (unchanged). .github is exempt from the centralized-stub audit and the deploy sweep (SKIP_REPOS), so the local refs won't be reverted. Only affects .github's own repo automation. Closes #541. Refs #870, #495.
|
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughBoth workflow stubs now call local reusable workflow files instead of the centrally hosted ChangesLocal reusable workflow callers
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
|
@donpetry-bot please review |
|
@don-petry I'm on it — starting a fresh review now. Results will appear in a few minutes. |
Dev-Lead — review-changes (no-changes)No changes were needed for this PR. |
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: 79f46fdba2614095090d90fd119f255136f8a02d
Review mode: triage-approved (single reviewer)
Summary
Cuts two ring0 dogfood callers (agent-shield.yml, dependabot-automerge.yml) from a stale cross-repo @v2 tag to the local-ref form (./.github/workflows/...-reusable.yml), so .github's own automation exercises the latest reusable code. Net 2 additions / 2 deletions across 2 stub files.
Linked issue analysis
Closes #541, which asks for exactly this change: both callers were frozen on @v2 while the reusables advanced on main, so the ring0 dogfood tier silently ran old code. The diff matches the issue's prescribed fix table line-for-line and aligns these stubs with the local-ref form already used by auto-rebase.yml / dependabot-rebase.yml / pr-review-mention.yml.
Findings
No issues. Compatibility verified against the reusables at HEAD: agent-shield-reusable.yml exposes only optional workflow_call inputs (all with defaults), and the stub passes none — safe. dependabot-automerge-reusable.yml requires secrets APP_ID/APP_PRIVATE_KEY, which the stub's unchanged 'secrets: inherit' continues to supply. The @v2 -> local-ref switch is not a supply-chain regression: a './' ref resolves within the same repo/commit as the caller (the safest reference form), and is the intended ring0 dogfood design per epic #495. .github is in SKIP_REPOS and exempt from the centralized-stub audit, so these local refs won't be reverted.
CI status
All required checks green: ShellCheck, Lint, CodeQL, SonarCloud, Secret scan (gitleaks), Agent Security Scan, AgentShield, npm audit, CodeRabbit all SUCCESS. Remaining entries (cargo audit, govulncheck, pip-audit, pnpm audit, dependabot-automerge, pr-review-mention) are SKIPPED by design. No failures. mergeStateStatus is BEHIND (branch behind base) but mergeable=MERGEABLE.
Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.
|
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |



Summary
.githubis the ring0 dogfood tier (epic #495) — its own callers should run the latest reusable code so regressions surface at the source. Two were frozen on a stale@v2cross-repo tag and silently weren't dogfooding. Cut them over to the local-ref form already used byauto-rebase.yml/dependabot-rebase.yml/pr-review-mention.yml:agent-shield.yml…/agent-shield-reusable.yml@v2./.github/workflows/agent-shield-reusable.ymldependabot-automerge.yml…/dependabot-automerge-reusable.yml@v2./.github/workflows/dependabot-automerge-reusable.ymlCompatibility (checked against HEAD reusables)
agent-shield-reusable.yml— allworkflow_callinputs optional; stub passes none. ✓dependabot-automerge-reusable.yml— required secretsAPP_ID/APP_PRIVATE_KEYalready supplied by the stub's unchangedsecrets: inherit. ✓.githubis inSKIP_REPOSand exempt from the centralized-stub audit, so these local refs won't be reverted. Only affects.github's own repo automation — the safest place to dogfood.Closes #541. Refs #870, #495.
🤖 Generated with Claude Code
Summary by CodeRabbit