Skip to content

Commit 8ecc7f3

Browse files
authored
chore: update mergify rules to push priority PRs to priority queue (#33334)
### Issue # (if applicable) N/A ### Description of changes Add a new mergify rule to push the priority PRs to priority queue. ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 9e3123f commit 8ecc7f3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.mergify.yml

+21
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,27 @@ pull_request_rules:
7676
conditions:
7777
- base!=release
7878
- -title~=(WIP|wip)
79+
- -label~=(blocked|do-not-merge|no-squash|two-approvers|priority-pr)
80+
- -merged
81+
- -closed
82+
- author!=dependabot[bot]
83+
- author!=dependabot-preview[bot]
84+
- "#approved-reviews-by>=1"
85+
- -approved-reviews-by~=author
86+
# This is important! It makes the PR Linter work.
87+
- "#changes-requested-reviews-by=0"
88+
- status-success~=AWS CodeBuild us-east-1
89+
- status-success=validate-pr
90+
- name: automatic priority merge
91+
actions:
92+
comment:
93+
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)).
94+
queue:
95+
name: priority-squash
96+
conditions:
97+
- base!=release
98+
- -title~=(WIP|wip)
99+
- label~=priority-pr
79100
- -label~=(blocked|do-not-merge|no-squash|two-approvers)
80101
- -merged
81102
- -closed

0 commit comments

Comments
 (0)