feat: implement issue #331 — Compliance: stub-surface-drift-pr-auto-review.yml-on - #358
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reached
Next review available in: 9 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?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 reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. 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, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ 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 |
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
There was a problem hiding this comment.
Pull request overview
This PR resolves compliance issue #331 by re-syncing the .github/workflows/pr-auto-review.yml thin caller stub’s on.workflow_run surface to match the canonical org standard, removing repo-specific drift.
Changes:
- Update
on.workflow_run.workflowsto only include the repository CI workflow ("CI"), matching the standard template’s expected trigger surface.
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: f71dd9a278bd1bd74bc77069bb1847631f2cb00b
Review mode: triage-approved (single reviewer)
Summary
One-line compliance fix: re-syncs the pr-auto-review.yml thin caller stub's workflow_run trigger list from ["CI", "SonarCloud Analysis", "Dev-Lead Agent", "CodeQL"] back to the canonical ["CI"], as required by compliance issue #331. Verified the resulting on: block matches the canonical standards/workflows/pr-auto-review.yml verbatim (only a non-functional TODO comment differs). Triage assessment (low-risk) is confirmed.
Linked issue analysis
Issue #331 (compliance audit, severity: error) flagged drift in the stub's on: surface vs the canonical template, which owns triggers centrally. The PR restores workflow_run.workflows to ["CI"] — exactly matching the canonical template and the repo's actual CI workflow name. The finding is substantively and fully addressed.
Findings
- No security concerns: the change reduces trigger surface; no permissions, secrets, or pinning changes.
- Informational (non-blocking): removing "SonarCloud Analysis"/"CodeQL"/"Dev-Lead Agent" from workflow_run means the readiness gate no longer re-fires when those GitHub Actions workflows complete (check_suite does not fire for Actions runs). The canonical design covers re-evaluation via check_suite (third-party apps), pull_request_review, and pull_request events, and this surface is centrally owned — any behavioral concern belongs in the central repo, not this stub.
- Secret scan: run_secret_scanning MCP tool not available in this environment; gitleaks CI check passed (SUCCESS).
CI status
All checks green: CI (Detect ecosystems, Secret scan/gitleaks) SUCCESS; CodeQL SUCCESS; SonarCloud Quality Gate passed (0 new issues, 0 hotspots); AgentShield SUCCESS; dependency-audit SUCCESS; remaining checks SKIPPED (not applicable). No failures.
Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.



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