Skip to content
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
20 changes: 12 additions & 8 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,19 @@ queue_rules:
- name: default
# Checked on the PR itself before it enters the queue.
queue_conditions:
# Subtree PRs merge via the subtree queue above; a subtree
# claim without trailers matches no queue and cannot merge at all.
- "-commits[*].commit_message ~= (?m)^git-subtree-dir: \\S+$"
- "-title ~= (?i)\\b(add|pull|update|sync|vendor|refresh|import)\\b[^.]*\\bsubtrees?\\b|\\bsubtrees?\\b[^.]*(\\badd\\b|\\bpull\\b|\\bupdate\\b|\\bsync\\b|\\bvendor\\b|\\brefresh\\b|\\bimport\\b)"
# Vendored subtree prefixes in this repo: hand edits without trailers cannot merge.
# Subtree PRs merge via the subtree queue above (org README, "Subtree PRs"): a pull request that names a
# subtree in its title and touches a vendored prefix needs the trailers, or it matches no queue.
- '-commits[*].commit_message ~= (?m)^git-subtree-dir: \S+$'
- not:
or:
- "added-files ~= ^(repos/alchemy|repos/effect)/"
- "modified-files ~= ^(repos/alchemy|repos/effect)/"
and:
- 'title ~= (?i)(?<![\w.-])(add|pull|update|sync|vendor|vendored|vendoring|refresh|import|bump|upgrade)(?!\.?[\w-])'
- 'title ~= (?i)(?<![\w.-])subtrees?(?!\.?[\w-])'
- or:
- "added-files ~= ^(vendor|vendored|third[_-]party|external|repos|subtrees?)/"
- "modified-files ~= ^(vendor|vendored|third[_-]party|external|repos|subtrees?)/"
# Hand edits inside this repository's vendored prefixes cannot merge without a subtree pull.
- -added-files ~= ^(repos/alchemy|repos/effect)/
- -modified-files ~= ^(repos/alchemy|repos/effect)/
- or:
- check-success = review-gate
- approved-reviews-by = kiro-systemf[bot]
Expand Down
Loading