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 #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
20 changes: 9 additions & 11 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
queue_rules:
- name: default
conditions:
- 'status-success~=Build & Test - Nixpkgs.*'

pull_request_rules:
- name: automatic merge
conditions:
queue_conditions:
- 'status-success~=Build & Test - Nixpkgs.*'
- "#approved-reviews-by>=1"
- "label=merge-queue"
- "base=main"
actions:
queue:
name: default
method: merge
merge_conditions:
- 'status-success~=Build & Test - Nixpkgs.*'
merge_method: merge

pull_request_rules:
- name: delete head branch after merge
conditions:
- merged
- closed
actions:
delete_head_branch: {}

- name: remove from merge-queue after merge
conditions:
- merged
actions:
label:
remove:
- "merge-queue"
- name: automatic merge
conditions: []
actions:
queue: