Skip to content

Commit 958d462

Browse files
authored
Multiple labels need to be in an array of strings
Updated the remove conditions with multiple labels to make them arrays of strings
1 parent b710066 commit 958d462

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.mergify.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ pull_request_rules:
9696
label:
9797
add:
9898
- "needs: CI"
99-
remove:
100-
- "needs: review"
101-
- "needs: work"
99+
remove: ['needs: review', 'needs: work']
102100

103101
# Conflict in the PR - needs: work and a comment to notify a user
104102
- name: "label needs: work when there is a conflict"
@@ -109,9 +107,8 @@ pull_request_rules:
109107
label:
110108
add:
111109
- "needs: work"
112-
remove:
113-
- "needs: review"
114-
- "needs: CI"
110+
remove: ['needs: review', 'needs: CI']
111+
115112
comment:
116113
message: This PR cannot be merged due to conflicts. Please rebase to resolve them.
117114

0 commit comments

Comments
 (0)