Skip to content

Commit

Permalink
Add mergify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Oct 12, 2021
1 parent 1578a0a commit 8c6e690
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
pull_request_rules:
- name: automatic merge
conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
# https://doc.mergify.io/examples.html#require-all-requested-reviews-to-be-approved
- "#review-requested=0"
- -label~=^acceptance-tests-needed|not-ready
- base=master
- status-success=integration
- status-success=unit
actions:
merge:
method: merge
- name: automatic merge on special label
conditions:
- -label~=^acceptance-tests-needed|not-ready
- "label=merge-fast"
- base=master
- status-success=integration
- status-success=unit
actions:
merge:
method: merge
- name: ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflicts. Could you fix it? 🙏

0 comments on commit 8c6e690

Please sign in to comment.