2019-06-23 09:10:39 -07:00
|
|
|
# Validate your changes with:
|
|
|
|
#
|
|
|
|
# $ curl -F 'data=@.mergify.yml' https://gh.mergify.io/validate
|
|
|
|
#
|
|
|
|
# https://doc.mergify.io/
|
2019-06-21 22:50:02 -07:00
|
|
|
pull_request_rules:
|
|
|
|
- name: remove outdated reviews
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
actions:
|
|
|
|
dismiss_reviews:
|
|
|
|
changes_requested: true
|
2019-06-22 09:00:00 -07:00
|
|
|
- name: set automerge label on mergify backport PRs
|
|
|
|
conditions:
|
|
|
|
- author=mergify[bot]
|
|
|
|
- head~=^mergify/bp/
|
2019-06-23 09:09:12 -07:00
|
|
|
- "#status-failure=0"
|
2019-06-22 09:00:00 -07:00
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- automerge
|
2019-06-21 22:50:02 -07:00
|
|
|
- name: v0.16 backport
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- label=v0.16
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- v0.16
|
2019-06-23 09:04:43 -07:00
|
|
|
- name: v0.17 backport
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- label=v0.17
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- v0.17
|
|
|
|
- name: v0.18 backport
|
|
|
|
conditions:
|
|
|
|
- base=master
|
|
|
|
- label=v0.18
|
|
|
|
actions:
|
|
|
|
backport:
|
|
|
|
branches:
|
|
|
|
- v0.18
|