-
Notifications
You must be signed in to change notification settings - Fork 61
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
181dd71
commit 2abde50
Showing
1 changed file
with
34 additions
and
24 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,60 +1,70 @@ | ||
queue_rules: | ||
- name: default | ||
conditions: | ||
# Conditions to get out of the queue (= merged) | ||
- name: duplicated default from Sensitive files | ||
queue_conditions: | ||
- -files~=^noggin/security/ | ||
- label!=WIP | ||
- -draft | ||
- approved-reviews-by=@fedora-infra/authdev | ||
- "#approved-reviews-by>=1" | ||
- "#changes-requested-reviews-by=0" | ||
- status-success=DCO | ||
- status-success=Misc tests (lint) | ||
- status-success=Misc tests (format) | ||
# - status-success=Misc tests (licenses) | ||
- status-success=Misc tests (security) | ||
- status-success=Misc tests (docs) | ||
- status-success=Unit tests (py39-unittest) | ||
- status-success=Unit tests (py310-unittest) | ||
- status-success=Integration tests (3.9) | ||
- status-success=Integration tests (3.10) | ||
|
||
pull_request_rules: | ||
- name: Automatic merge on approval | ||
actions: | ||
queue: | ||
name: default | ||
method: rebase | ||
conditions: | ||
- -files~=^noggin/security/ | ||
- files~=^noggin/security/ | ||
- label!=WIP | ||
- -draft | ||
- approved-reviews-by=@fedora-infra/authdev | ||
- "#approved-reviews-by>=1" | ||
- "#approved-reviews-by>=2" | ||
- "#changes-requested-reviews-by=0" | ||
- status-success=DCO | ||
- status-success=Misc tests (lint) | ||
- status-success=Misc tests (format) | ||
# - status-success=Misc tests (licenses) | ||
- status-success=Misc tests (security) | ||
- status-success=Misc tests (docs) | ||
- status-success=Unit tests (py39-unittest) | ||
- status-success=Unit tests (py310-unittest) | ||
- status-success=Integration tests (3.9) | ||
- status-success=Integration tests (3.10) | ||
|
||
- name: Sensitive files | ||
actions: | ||
queue: | ||
name: default | ||
method: rebase | ||
conditions: | ||
- files~=^noggin/security/ | ||
merge_conditions: [] | ||
merge_method: rebase | ||
- name: default | ||
queue_conditions: | ||
- -files~=^noggin/security/ | ||
- label!=WIP | ||
- -draft | ||
- approved-reviews-by=@fedora-infra/authdev | ||
- "#approved-reviews-by>=2" | ||
- "#approved-reviews-by>=1" | ||
- "#changes-requested-reviews-by=0" | ||
- status-success=DCO | ||
- status-success=Misc tests (lint) | ||
- status-success=Misc tests (format) | ||
- status-success=Misc tests (security) | ||
- status-success=Misc tests (docs) | ||
- status-success=Unit tests (py39-unittest) | ||
- status-success=Unit tests (py310-unittest) | ||
- status-success=Integration tests (3.9) | ||
- status-success=Integration tests (3.10) | ||
merge_conditions: | ||
# Conditions to get out of the queue (= merged) | ||
- status-success=Misc tests (lint) | ||
- status-success=Misc tests (format) | ||
# - status-success=Misc tests (licenses) | ||
- status-success=Misc tests (security) | ||
- status-success=Misc tests (docs) | ||
- status-success=Unit tests (py39-unittest) | ||
- status-success=Unit tests (py310-unittest) | ||
- status-success=Integration tests (3.9) | ||
- status-success=Integration tests (3.10) | ||
merge_method: rebase | ||
|
||
pull_request_rules: | ||
- name: Automatic merge on approval + Sensitive files | ||
conditions: [] | ||
actions: | ||
queue: |