Skip to content

Commit 20176e6

Browse files
authored
chore(mergify): update priority for new rule (#33303)
### Issue # (if applicable) Closes NA ### Reason for this change Moving rule position to update the priority in order to fix freezing rules. If a queue with high priority is frozen, the ones below it will also be under freeze as well, which is not the desired state that we want. Priority should be higher for queue rule `priority-squash` so that we can successfully freeze the default-squash one. ### Description of changes Moving rule position to update the priority in order to fix freezing rules. ### Describe any new or updated permissions being added NA ### Description of how you validated changes NA ### 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*
2 parents a8e2622 + a14bcfa commit 20176e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.mergify.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ queue_rules:
2020
{{ title }} (#{{ number }})
2121
{{ body }}
2222
23-
- name: default-squash
23+
- name: priority-squash
2424
update_method: merge
2525
merge_method: squash
2626
conditions:
2727
- base!=release
2828
- -title~=(WIP|wip)
29-
- -label~=(blocked|do-not-merge|no-squash|priority-pr)
29+
- -label~=(blocked|do-not-merge|no-squash)
30+
- label~=priority-pr
3031
- -merged
3132
- -closed
3233
- "#approved-reviews-by>=1"
@@ -39,14 +40,13 @@ queue_rules:
3940
{{ title }} (#{{ number }})
4041
{{ body }}
4142
42-
- name: priority-squash
43+
- name: default-squash
4344
update_method: merge
4445
merge_method: squash
4546
conditions:
4647
- base!=release
4748
- -title~=(WIP|wip)
48-
- -label~=(blocked|do-not-merge|no-squash)
49-
- label~=priority-pr
49+
- -label~=(blocked|do-not-merge|no-squash|priority-pr)
5050
- -merged
5151
- -closed
5252
- "#approved-reviews-by>=1"

0 commit comments

Comments
 (0)