Skip to content

Commit

Permalink
Mergify: merge-when-green
Browse files Browse the repository at this point in the history
  • Loading branch information
octonato committed Jun 29, 2020
1 parent 7db1b41 commit 5ba8172
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions .mergify.yml
Expand Up @@ -7,46 +7,13 @@ pull_request_rules:
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
- label=status:merge-when-green
actions:
merge:
method: merge

- name: backport patches to 2.0.x branch
conditions:
- merged
- label=status:needs-backport
actions:
backport:
branches:
- 2.0.x
label:
remove: [status:needs-backport]

- name: backport patches to 1.1.x branch
conditions:
- merged
- label=status:needs-backport-1.1
actions:
backport:
branches:
- 1.1.x
label:
remove: [status:needs-backport-1.1]

- name: forward patches to master branch
conditions:
- merged
- label=status:needs-forwardport
actions:
backport:
branches:
- master
label:
remove: [status:needs-forwardport]

- name: Delete the PR branch after merge
conditions:
- merged
actions:
delete_head_branch: {}

0 comments on commit 5ba8172

Please sign in to comment.