-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(Mergify): configuration update (#26)
Signed-off-by: zakir <null>
- Loading branch information
1 parent
3ba2e62
commit 1b46cc6
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
queue_rules: | ||
- name: default | ||
merge_method: squash | ||
update_method: merge | ||
commit_message_template: | | ||
{{ title }} (#{{ number }}) | ||
queue_conditions: | ||
- "#approved-reviews-by>=2" | ||
|
||
pull_request_rules: | ||
- name: Automatic merge | ||
description: Merge when PR passes all branch protection and has label automerge | ||
conditions: | ||
- "#approved-reviews-by>=2" | ||
- base=main | ||
- label = automerge | ||
actions: | ||
queue: | ||
name: default | ||
- name: Ping PR author when conflicting | ||
description: Warn the pull request author when their PR are conflicting | ||
conditions: | ||
- conflict | ||
- '-closed' | ||
actions: | ||
comment: | ||
message: > | ||
👋 {{author}} your PR is conflicting and needs to be updated to be | ||
merged | ||
- name: Add a queue label when PR is queued | ||
description: Toggle the queue label when a pull request is (un)queued. | ||
conditions: | ||
- queue-position > 0 | ||
actions: | ||
label: | ||
toggle: | ||
- merge-queued |