Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored and abompard committed Nov 28, 2024
1 parent 3c0e87a commit 1aec0e7
Showing 1 changed file with 42 additions and 25 deletions.
67 changes: 42 additions & 25 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
queue_rules:
- name: default
conditions:
- name: duplicated default from Automatic merge on approval
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 (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)
Expand All @@ -11,44 +27,39 @@ queue_rules:
- 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/
merge_method: rebase
- name: duplicated default from Sensitive files
queue_conditions:
- 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 (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)

- name: Sensitive files
actions:
queue:
name: default
method: rebase
merge_method: rebase
- name: default
conditions:
- files~=^noggin/security/
- label!=WIP
- -draft
- approved-reviews-by=@fedora-infra/authdev
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- status-success=DCO
# Conditions to get out of the queue (= merged)
- status-success=Misc tests (lint)
- status-success=Misc tests (format)
# - status-success=Misc tests (licenses)
Expand All @@ -58,3 +69,9 @@ pull_request_rules:
- 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 + Sensitive files
conditions: []
actions:
queue:

0 comments on commit 1aec0e7

Please sign in to comment.