Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Nov 22, 2024
1 parent cd46573 commit 9d0545a
Showing 1 changed file with 21 additions and 20 deletions.
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:

0 comments on commit 9d0545a

Please sign in to comment.