Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(mergify): upgrade configuration to current format #1465

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: