Skip to content

feat: implement issue #331 — Compliance: stub-surface-drift-pr-auto-review.yml-on - #358

Merged
don-petry merged 1 commit into
mainfrom
dev-lead/issue-331-20260721-1931
Jul 21, 2026
Merged

feat: implement issue #331 — Compliance: stub-surface-drift-pr-auto-review.yml-on#358
don-petry merged 1 commit into
mainfrom
dev-lead/issue-331-20260721-1931

Conversation

@don-petry

Copy link
Copy Markdown
Contributor

Closes #331

Implemented by dev-lead agent. Please review.

Copilot AI review requested due to automatic review settings July 21, 2026 19:34
@don-petry
don-petry requested a review from a team as a code owner July 21, 2026 19:34
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@don-petry, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 9 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a4f826b4-6a32-46b3-9e52-d22f64734907

📥 Commits

Reviewing files that changed from the base of the PR and between 78b40c7 and f71dd9a.

📒 Files selected for processing (1)
  • .github/workflows/pr-auto-review.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev-lead/issue-331-20260721-1931

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.workflows to only include the repository CI workflow ("CI"), matching the standard template’s expected trigger surface.

@don-petry

Copy link
Copy Markdown
Contributor Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

@don-petry
don-petry enabled auto-merge (squash) July 21, 2026 19:47

@donpetry-bot donpetry-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@don-petry
don-petry merged commit 32ba526 into main Jul 21, 2026
25 checks passed
@don-petry
don-petry deleted the dev-lead/issue-331-20260721-1931 branch July 21, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compliance: stub-surface-drift-pr-auto-review.yml-on

3 participants