-
Notifications
You must be signed in to change notification settings - Fork 697
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 (#7592)
* use queues * rebase+merge strategy * merge+squash strategy Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
- Loading branch information
Showing
1 changed file
with
25 additions
and
5 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 |
---|---|---|
@@ -1,9 +1,29 @@ | ||
pull_request_rules: | ||
# rebase+merge strategy | ||
- actions: | ||
merge: | ||
strict: smart+fasttrack | ||
method: squash | ||
name: Automatically merge pull requests | ||
queue: | ||
name: default | ||
# Merge into master with a merge commit | ||
method: merge | ||
# Update the pr branch with rebase, so the history is clean | ||
update_method: rebase | ||
name: Put pull requests in the rebase+merge queue | ||
conditions: | ||
- label=merge me | ||
- '#approved-reviews-by>=2' | ||
- '#approved-reviews-by>=2' | ||
# merge+squash strategy | ||
- actions: | ||
queue: | ||
name: default | ||
method: squash | ||
# both update methods get absorbed by the squash, so we use the most | ||
# reliable | ||
update_method: merge | ||
name: Put pull requests in the squash+merge queue | ||
conditions: | ||
- label=squash+merge me | ||
- '#approved-reviews-by>=2' | ||
|
||
queue_rules: | ||
- name: default | ||
conditions: [] |