feat: Add initial configuration for bulldozer - #4
Conversation
Signed-off-by: Phuong Nguyen <7949163+phuongfi91@users.noreply.github.com>
PR Summary by QodoConfigure Bulldozer merge and branch update automation
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
There was a problem hiding this comment.
Pull request overview
Adds an initial bulldozer.yml configuration to define when Bulldozer should auto-merge and auto-update pull requests, and how merges should be performed across common target branches.
Changes:
- Introduces a Bulldozer config with merge triggers/ignores (labels, comments, substrings, branches, auto-merge).
- Configures merge strategy defaults (
squash) plus branch-based overrides viamerge_method. - Enables branch deletion after merge and defines update triggers/ignores for automated branch updates.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Code Review by Qodo
1. All branch PRs auto-merge
|
| pr_body_substrings: ["==MERGE_WHEN_READY=="] | ||
|
|
||
| # Pull requests targeting any of these branches are added to the trigger. | ||
| branches: ["dev", "main", "develop", "master"] |
There was a problem hiding this comment.
1. All branch prs auto-merge 🐞 Bug ≡ Correctness
Adding the primary branches to merge.trigger.branches makes every PR targeting any of them eligible for Bulldozer, because this file explicitly documents merge triggers as OR conditions. As a result, the label, comment, body, and GitHub auto-merge opt-ins are unnecessary for PRs to these branches, and any such PR will be automatically merged once required checks and protections permit it.
Agent Prompt
## Issue description
The configured branch trigger opts every PR targeting a listed primary branch into automated merging, bypassing the intended explicit label, comment, body, or auto-merge triggers.
## Issue Context
`merge.trigger` criteria are OR-based, while branch-specific merge methods can still be selected separately through `merge_method`.
## Fix Focus Areas
- bulldozer.yml[27-28]
- bulldozer.yml[67-81]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
No description provided.