Skip to content

Commit b54fbf2

Browse files
anoopcs9mergify[bot]
authored andcommitted
mergify: Restrict the addition of "priority-review" label
Mergify rules doesn't check the status of pull requests before adding the "priority-review" label. In addition to the existing rules it only makes sense to add the label if the pull request is in open state. Signed-off-by: Anoop C S <[email protected]>
1 parent 6f23bf7 commit b54fbf2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/mergify.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ pull_request_rules:
121121
conditions:
122122
- "updated-at<15 days ago"
123123
- "-draft"
124+
- "-closed"
125+
- "-merged"
124126
actions:
125127
label:
126128
add:

0 commit comments

Comments
 (0)