Implement multi-AI PR automation with intelligent auto-merge #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds comprehensive PR automation system with parallel AI reviews (CodeRabbit, Claude, Codex), content-based auto-labeling, and safe auto-merge logic.
Workflows
Main Orchestrator (
.github/workflows/pr-automation.yml)implementation,enhancement,bugfix,documentation,dependencies,ci-cd,testschittyfoundation/opscanonical checksAI Reviews
.github/workflows/ai-review-claude.yml- Claude 3.5 Sonnet for deep analysis.github/workflows/ai-review-codex.yml- GPT-4 Turbo for implementation quality + static checksBoth post review comments and set commit statuses for auto-merge evaluation.
Auto-Merge (
.github/workflows/auto-merge.yml)Evaluates on check/status completion:
do-not-merge/wiplabelsEnables squash-merge when conditions met, posts informative status comments.
Branch Cleanup (
.github/workflows/auto-delete-branch.yml)Deletes source branch post-merge, skips protected patterns and forks.
Configuration
.github/coderabbit.yml(password|secret|api[_-]?key|token|private[_-]?key|access[_-]?key)Secrets Required
Organization-level:
ANTHROPIC_API_KEY- Claude APIOPENAI_API_KEY- Codex APICHITTYCONNECT_API_KEY- Already configuredDesign Notes
Usage
Documentation in
PR_AUTOMATION.mdcovers setup, configuration, and troubleshooting.Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.