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 31f3843 commit e7d83b3
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,56 +8,14 @@ pull_request_rules:
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
- label=status:merge-when-green
actions:
merge:
method: merge
strict: smart

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


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

- 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: {}

- name: auto add wip
conditions:
# match a few flavours of wip
- title~=^(\[wip\]( |:) |\[WIP\]( |:) |wip( |:) |WIP( |:)).*
actions:
label:
add: ["status:block-merge"]

0 comments on commit e7d83b3

Please sign in to comment.