Skip to content

Commit

Permalink
Merge pull request #8086 from ezimanyi/update-mergify
Browse files Browse the repository at this point in the history
chore(mergify): release-* branches require release manager approval
  • Loading branch information
plumpy committed Mar 25, 2020
2 parents c9587ac + b2d03ac commit fea9274
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pull_request_rules:
- name: Automatically merge on CI success and review
conditions:
- base=master
- status-success=Deck CI
- 'label=ready to merge'
- 'approved-reviews-by=@oss-approvers'
Expand All @@ -10,6 +11,7 @@ pull_request_rules:
strict: smart
- name: Automatically self merge on CI success
conditions:
- base=master
- status-success=Deck CI
- 'label=ready to merge'
- 'label=self merge'
Expand All @@ -19,6 +21,7 @@ pull_request_rules:
strict: smart
- name: Automatically rebase and merge on CI success and review
conditions:
- base=master
- status-success=Deck CI
- 'label=ready to rebase'
- 'approved-reviews-by=@oss-approvers'
Expand All @@ -28,10 +31,33 @@ pull_request_rules:
strict: smart
- name: Automatically rebase and self merge on CI success
conditions:
- base=master
- status-success=Deck CI
- 'label=ready to rebase'
- 'label=self merge'
actions:
merge:
method: rebase
strict: smart
- name: Automatically merge release branch changes on Travis CI success and release manager review
conditions:
- base~=^release-
- status-success=Deck CI
- 'label=ready to merge'
- 'approved-reviews-by=@release-managers'
actions:
merge:
method: squash
strict: smart
# This rule exists to handle release branches that are still building using Travis CI instead of
# using Github actions. It can be deleted once all active release branches are running Github actions.
- name: Automatically merge release branch changes on Travis CI success and release manager review
conditions:
- base~=^release-
- status-success=continuous-integration/travis-ci/pr
- 'label=ready to merge'
- 'approved-reviews-by=@release-managers'
actions:
merge:
method: squash
strict: smart

0 comments on commit fea9274

Please sign in to comment.