Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(mergify): upgrade configuration to current format #2616

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 21 additions & 20 deletions .mergify.yml
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:
Loading