Skip to content

Commit

Permalink
chore(build): update mergify config (#1506)
Browse files Browse the repository at this point in the history
Co-authored-by: Cameron Motevasselani <cameron@armory.io>
(cherry picked from commit d3c7213)
  • Loading branch information
link108 authored and mergify-bot committed Jan 19, 2022
1 parent 66e533b commit a3baa41
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
queue_rules:
- name: default
conditions:
- status-success=build

pull_request_rules:
- name: Automatically merge on CI success and review
conditions:
Expand All @@ -6,9 +11,9 @@ pull_request_rules:
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
actions:
merge:
queue:
method: squash
strict: smart
name: default
label:
add: ["auto merged"]
- name: Automatically merge release branch changes on CI success and release manager review
Expand All @@ -18,9 +23,9 @@ pull_request_rules:
- "label=ready to merge"
- "approved-reviews-by=@release-managers"
actions:
merge:
queue:
method: squash
strict: smart
name: default
label:
add: ["auto merged"]
# This rule exists to handle release branches that are still building using Travis CI instead of
Expand All @@ -32,9 +37,9 @@ pull_request_rules:
- "label=ready to merge"
- "approved-reviews-by=@release-managers"
actions:
merge:
queue:
method: squash
strict: smart
name: default
label:
add: ["auto merged"]
- name: Automatically merge PRs from maintainers on CI success and review
Expand All @@ -44,9 +49,9 @@ pull_request_rules:
- "label=ready to merge"
- "author=@oss-approvers"
actions:
merge:
queue:
method: squash
strict: smart
name: default
label:
add: ["auto merged"]
- name: Automatically merge autobump PRs on CI success
Expand All @@ -56,9 +61,9 @@ pull_request_rules:
- "label~=autobump-*"
- "author:spinnakerbot"
actions:
merge:
queue:
method: squash
strict: smart
name: default
label:
add: ["auto merged"]
- name: Request reviews for autobump PRs on CI failure
Expand Down

0 comments on commit a3baa41

Please sign in to comment.