Skip to content
Closed
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
18 changes: 17 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Mergify: policy lives in systemfsoftware/.github (.mergify.yml). This file only names this repo's CI checks.
# Mergify: policy lives in systemfsoftware/.github (.mergify.yml). This file names this repo's CI checks and the one rule that cannot be inherited: this repo's default branch is master.
extends: .github
shared:
# Copied from the org file; `shared` is not inherited. Keep in step with its kiro_gate phase switch.
kiro_gate: &kiro_gate "approved-reviews-by = kiro-systemf[bot]"
not_queue_branch: &not_queue_branch "-head ~= ^mergify/merge-queue/"
queue_rules:
- name: default
# Checked on the PR itself before it enters the queue.
Expand All @@ -14,3 +18,15 @@ queue_rules:
merge_conditions:
- check-success = gate / gate
- check-success = nix flake check
pull_request_rules:
# Same name and conditions as the org rule, which matches base = main; a local rule of the same name replaces it.
- name: Queue when approved
conditions:
- base = master
- *not_queue_branch
- *kiro_gate
- "#changes-requested-reviews-by = 0"
- -draft
- -label = hold
actions:
queue:
Loading