diff --git a/.mergify.yml b/.mergify.yml index 54bf81149..e8a4878c4 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -39,10 +39,8 @@ pull_request_rules: - name: automatic merge actions: comment: - message: Thank you for contributing! Your pull request will be updated from - main and then merged automatically (do not update manually, and be sure - to [allow changes to be pushed to your - fork](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)). + message: Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to [allow + changes to be pushed to your fork](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)). conditions: - base!=release - -title~=(WIP|wip) @@ -60,8 +58,7 @@ pull_request_rules: - name: if fails conventional commits actions: comment: - message: Title does not follow the guidelines of [Conventional Commits](https://www.conventionalcommits.org). - Please adjust title before merge. + message: Title does not follow the guidelines of [Conventional Commits](https://www.conventionalcommits.org). Please adjust title before merge. conditions: - author!=dependabot[bot] - author!=dependabot-preview[bot] @@ -72,3 +69,14 @@ pull_request_rules: conditions: [] actions: queue: +priority_rules: + - name: priority for queue `automatic merge` + conditions: + - base!=release + - -label~=(blocked|do-not-merge|no-squash) + - author!=dependabot[bot] + - author!=dependabot-preview[bot] + - '#approved-reviews-by>=1' + - -approved-reviews-by~=author + - '#changes-requested-reviews-by=0' + priority: 2250