Add trusted GitHub actor allowlist - #133
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
More reviews will be available in 51 minutes and 55 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 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 see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdds a GitHub actors allowlist for PR-batch automation, listing trusted users, bots, and teams and documenting that unknown actors are sent to maintainer triage. ChangesTrusted GitHub actors allowlist
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 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 |
|
Cloudflare preview deployed.
|
Greptile SummaryThis PR adds a repo-local trusted actor policy for PR-batch automation. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "Trust reviewed GitHub actors for PR batc..." | Re-trigger Greptile |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.agents/trusted-github-actors.yml:
- Line 18: The trusted actor allowlist is too broad because it includes
github-actions, which can let unrelated workflow comments influence
pr-security-preflight. Update the trusted-github-actors.yml allowlist to remove
github-actions and rely on a distinct preview bot/app identity instead, or add
separate provenance checks in the code that reads this allowlist so only the
intended preview workflow actor is trusted.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 3e075052-2f1a-42bd-a28c-f9572c71c15d
📒 Files selected for processing (1)
.agents/trusted-github-actors.yml
Summary
pr-security-preflightreact_on_railsand include this repo'sgithub-actionspreview-comment botWhy
The current batch security preflight failed because
reactonrails.comhad no.agents/trusted-github-actors.yml, so all PR authors, reviewers, and preview-comment bots were treated as untrusted. This file makes the trust boundary explicit and auditable in this repo.Test plan
PR_BATCH_SKILL_DIR=/Users/justin/.codex/skills/pr-batch; "$PR_BATCH_SKILL_DIR/bin/pr-security-preflight" --repo shakacode/reactonrails.com 131 130 102 132 129 113npm run install:sitenpm run preparenpm run build(passes; Docusaurus reports existing generated-doc broken-link/anchor warnings)Summary by CodeRabbit