Automate OSCCA pull request triage - #8505
Conversation
Assisted-by: Codex:gpt-5.6-sol
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdded a restricted GitHub Actions workflow for opened pull requests. The workflow recognizes allowlisted OSCCA participants case-insensitively, labels and assigns matching pull requests, and skips other authors. Added a zizmor exception for the required trigger. ChangesOSCCA pull request automation
Estimated code review effort: 3 (Moderate) | ~15 minutes Sequence Diagram(s)sequenceDiagram
participant PullRequestEvent
participant GitHubScript
participant GitHubAPI
PullRequestEvent->>GitHubScript: opened pull_request_target event
GitHubScript->>GitHubScript: normalize allowlist and check author
GitHubScript->>GitHubAPI: apply z-ca-2026 label
GitHubScript->>GitHubAPI: assign pull request to author
Suggested reviewers: 🚥 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 |
Motivation
OSCCA pull requests currently need their program label and assignee set manually. This automation keeps that metadata consistent for both draft and ready pull requests as soon as they are opened.
The workflow grants only
issues: write, and it does not check out or execute pull request code.Summary by CodeRabbit
z-ca-2026label and are assigned to their author.