Implement multi-AI PR automation with intelligent auto-merge#3
Draft
Implement multi-AI PR automation with intelligent auto-merge#3
Conversation
- pr-automation.yml: Main workflow for auto-labeling and AI review triggering - ai-review-claude.yml: Claude/Anthropic AI code review integration - ai-review-codex.yml: OpenAI Codex code review integration - auto-merge.yml: Intelligent auto-merge logic with comprehensive checks - auto-delete-branch.yml: Automatic branch cleanup after merge - coderabbit.yml: CodeRabbit AI configuration with project-specific rules Co-authored-by: chitcommit <208086304+chitcommit@users.noreply.github.com>
- PR_AUTOMATION.md: Complete guide for PR automation workflows - Update CICD-Quick-Reference.md with PR automation commands - Update README.md to highlight PR automation features - Document AI review integration, auto-merge, and auto-delete Co-authored-by: chitcommit <208086304+chitcommit@users.noreply.github.com>
- Fix JQ filter in auto-merge.yml (proper variable interpolation) - Add comments explaining merge state values - Improve secret detection patterns (more comprehensive) - Add diff truncation warnings for large PRs - Expand dependency file patterns to include more formats - Validate all YAML files successfully Co-authored-by: chitcommit <208086304+chitcommit@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement CI/CD PR automation with AI review integration
Implement multi-AI PR automation with intelligent auto-merge
Jan 25, 2026
chitcommit
added a commit
that referenced
this pull request
Feb 9, 2026
Critical fixes: - Fix command injection in remediate.js: switch from execSync with string interpolation to execFileSync with argument arrays (#1) - Fix shell injection in github-checker.js: all execSync calls replaced with execFileSync using argument arrays (#2) - Fix audit:service arg parsing: parser now handles both --service=NAME and --service NAME formats (#3) Significant fixes: - Fix onboard-service.sh YAML append: use python3 for org-aware insertion instead of blind file append (#4) - Clarify checks.yml as reference doc, remove unused loadChecks() method from audit engine (#5) - Add compliance/README.md so remediation issue links work (#7) - Remove dead parseSimpleYaml fallback, use js-yaml directly (#8) Minor fixes: - Fix inverted return codes in deploy_file/deploy_template/deploy_workflow to follow bash convention (0=success, 1=skip) (#9) - Add cleanup trap to setup-org-workflows.sh to remove /tmp clones (#10) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.