-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(mergify): upgrade configuration to current format
- Loading branch information
1 parent
28cb2fb
commit cf5fe11
Showing
1 changed file
with
28 additions
and
20 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,29 +1,37 @@ | ||
queue_rules: | ||
- name: duplicated main from merge to master | ||
queue_conditions: | ||
- label=automerge:merge | ||
merge_conditions: | ||
- base=main | ||
# Require integration tests before merging only | ||
- check-success=Cloudflare Pages | ||
merge_method: merge | ||
- name: duplicated main from rebase updates then merge to master | ||
queue_conditions: | ||
- label=automerge:rebase | ||
merge_conditions: | ||
- base=main | ||
# Require integration tests before merging only | ||
- check-success=Cloudflare Pages | ||
update_method: rebase | ||
merge_method: merge | ||
- name: duplicated main from squash to master | ||
queue_conditions: | ||
- label=automerge:squash | ||
merge_conditions: | ||
- base=main | ||
# Require integration tests before merging only | ||
- check-success=Cloudflare Pages | ||
merge_method: squash | ||
- name: main | ||
conditions: | ||
- base=main | ||
# Require integration tests before merging only | ||
- check-success=Cloudflare Pages | ||
|
||
pull_request_rules: | ||
- name: merge to master | ||
conditions: | ||
- label=automerge:merge | ||
actions: | ||
queue: | ||
name: main | ||
method: merge | ||
- name: rebase updates then merge to master | ||
conditions: | ||
- label=automerge:rebase | ||
actions: | ||
queue: | ||
name: main | ||
method: merge | ||
update_method: rebase | ||
- name: squash to master | ||
conditions: | ||
- label=automerge:squash | ||
- name: merge to master + rebase updates then merge to master + squash to master | ||
conditions: [] | ||
actions: | ||
queue: | ||
name: main | ||
method: squash |