Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhichang committed Dec 30, 2023
1 parent 1aef9b4 commit 2a0423d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
# https://docs.mergify.com/merge-queue/lifecycle/
# The merge queue tests pull requests against the latest version of the base branch. Therefore, if a new commit is pushed to the base branch, Mergify resets the process and starts over with the updated base branch.

# https://docs.mergify.com/configuration/file-format/
pull_request_rules:
- name: "Automatic queue when CI passes and approved"
conditions:
# Mergify receives an PR event(`opened``, `reopened`` and etc.), does some actions(`queue` here) if following conditions are all true.
- "#approved-reviews-by>=0"
- "check-success=tests"
actions:
queue:
merge_method: squash
update_method: rebase
queue_rules:
- name: default
queue_conditions:
- and:
- "#approved-reviews-by>=0"
- "check-success=tests"
# Mergify receives `queue` or `requeue` command, queues the PR if following conditions are all true.
- "#approved-reviews-by>=0"
- "check-success=tests"
merge_conditions:
- "check-success=tests"
merge_method: squash
update_method: rebase

0 comments on commit 2a0423d

Please sign in to comment.