-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(mergify): upgrade configuration to current format
- Loading branch information
1 parent
cd46573
commit 9d0545a
Showing
1 changed file
with
21 additions
and
20 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,24 +1,25 @@ | ||
queue_rules: | ||
- name: default | ||
conditions: | ||
- check-success=hydra | ||
- name: default | ||
queue_conditions: | ||
- label=merge me | ||
- '#approved-reviews-by>=1' | ||
- '#changes-requested-reviews-by=0' | ||
merge_conditions: | ||
- check-success=hydra | ||
# Mergify explicitly recommends listing each status check separately: | ||
# https://docs.mergify.io/conditions/#validating-all-status-checks | ||
- check-success=macOS-latest - stack.yaml | ||
- check-success=ubuntu-latest - stack.yaml | ||
- check-success=windows-latest - stack.yaml | ||
- check-success=macOS-latest - stack.yaml | ||
- check-success=ubuntu-latest - stack.yaml | ||
- check-success=windows-latest - stack.yaml | ||
merge_method: squash | ||
|
||
pull_request_rules: | ||
- actions: | ||
queue: | ||
name: default | ||
method: squash | ||
name: Automatically merge pull requests | ||
conditions: | ||
- label=merge me | ||
- ! '#approved-reviews-by>=1' | ||
- ! '#changes-requested-reviews-by=0' | ||
- actions: | ||
delete_head_branch: {} | ||
name: Delete head branch after merge | ||
conditions: | ||
- merged | ||
- actions: | ||
delete_head_branch: {} | ||
name: Delete head branch after merge | ||
conditions: | ||
- merged | ||
- name: Automatically merge pull requests | ||
conditions: [] | ||
actions: | ||
queue: |