-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have mergify label PRs with conflicts so we can see them easily (#34863)
Signed-off-by: Justin Wood <null>
- Loading branch information
1 parent
46fce61
commit e14ce48
Showing
1 changed file
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,29 @@ | ||
pull_request_rules: | ||
- name: Label conflicting pull requests | ||
description: Add a label to a pull request with conflict to spot it easily | ||
conditions: | ||
- conflict | ||
- '-closed' | ||
actions: | ||
label: | ||
toggle: | ||
- conflict | ||
- name: Automatic merge on PullApprove | ||
conditions: | ||
- or: | ||
- "check-success=pullapprove" | ||
- label="fast track" | ||
- "#approved-reviews-by>=1" | ||
- "#review-threads-unresolved=0" | ||
- "-draft" | ||
- "label!=docker" # Don't auto merge docker images | ||
- "#check-failure=0" # Don't auto merge with a failure | ||
- "#check-pending=0" # Don't auto merge with anything pending | ||
- "check-success~=Build" # Don't auto merge unless a build has succeeded, needed because above is true on a fresh PR before builds | ||
- check-success=pullapprove | ||
- label="fast track" | ||
- '#approved-reviews-by>=1' | ||
- '#review-threads-unresolved=0' | ||
- '-draft' | ||
- label!=docker | ||
- '#check-failure=0' | ||
- '#check-pending=0' | ||
- check-success~=Build | ||
- or: | ||
- "check-success=pullapprove" | ||
- "check-skipped=pullapprove" | ||
- "check-neutral=pullapprove" | ||
- check-success=pullapprove | ||
- check-skipped=pullapprove | ||
- check-neutral=pullapprove | ||
actions: | ||
merge: | ||
method: squash |