generated from nventive/Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(mergify): upgrade configuration to current format
- Loading branch information
1 parent
8029e9b
commit d0135ad
Showing
1 changed file
with
12 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,28 @@ | ||
queue_rules: | ||
- name: default | ||
conditions: | ||
# Conditions to get out of the queue (= merged) | ||
- check-success=nventive.UnoApplicationTemplate # Replace this with your CI pipeline name | ||
|
||
pull_request_rules: | ||
|
||
- name: automatic strict merge when CI passes, has 2 reviews, no requests for change and is labeled 'ready-to-merge' unless labelled 'do-not-merge/breaking-change' or 'do-not-merge/work-in-progress' | ||
conditions: | ||
# Only pull-requests sent to the main branch | ||
queue_conditions: | ||
- base=main | ||
|
||
# All Azure builds should be green: | ||
- status-success=nventive.UnoApplicationTemplate # Replace this with your CI pipeline name | ||
|
||
# CLA check must pass: | ||
#- "status-success=license/cla" | ||
|
||
# Note that this only matches people with write / admin access to the repo, | ||
# see <https://doc.mergify.io/conditions.html#attribute-list> | ||
- status-success=nventive.UnoApplicationTemplate | ||
- "#approved-reviews-by>=2" | ||
- "#changes-requested-reviews-by=0" | ||
|
||
# Pull-request must be labeled with: | ||
- label=ready-to-merge | ||
|
||
# Do not automatically merge pull-requests that are labelled as do-not-merge | ||
# see <https://doc.mergify.io/examples.html#id6> | ||
- label!=do-not-merge/breaking-change | ||
- label!=do-not-merge/work-in-progress | ||
merge_conditions: | ||
# Conditions to get out of the queue (= merged) | ||
- check-success=nventive.UnoApplicationTemplate # Replace this with your CI pipeline name | ||
|
||
# Note: mergify cannot break branch protection rules | ||
actions: | ||
queue: | ||
method: merge | ||
name: default | ||
merge_method: merge | ||
|
||
pull_request_rules: | ||
|
||
- name: automatic merge for allcontributors pull requests | ||
conditions: | ||
- author=allcontributors[bot] | ||
actions: | ||
merge: | ||
method: merge | ||
- name: refactored queue action rule | ||
conditions: [] | ||
actions: | ||
queue: |