Multiple labels need to be in an array of strings

Updated the remove conditions with multiple labels to make them arrays of strings
pull/12292/head
Anna Bridge 2020-01-21 12:31:58 +00:00 committed by GitHub
parent b710066671
commit 958d4620b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -96,9 +96,7 @@ pull_request_rules:
label:
add:
- "needs: CI"
remove:
- "needs: review"
- "needs: work"
remove: ['needs: review', 'needs: work']
# Conflict in the PR - needs: work and a comment to notify a user
- name: "label needs: work when there is a conflict"
@ -109,9 +107,8 @@ pull_request_rules:
label:
add:
- "needs: work"
remove:
- "needs: review"
- "needs: CI"
remove: ['needs: review', 'needs: CI']
comment:
message: This PR cannot be merged due to conflicts. Please rebase to resolve them.