From 958d4620b6cc6a7ba348239268bbff09f0974741 Mon Sep 17 00:00:00 2001 From: Anna Bridge Date: Tue, 21 Jan 2020 12:31:58 +0000 Subject: [PATCH] Multiple labels need to be in an array of strings Updated the remove conditions with multiple labels to make them arrays of strings --- .mergify.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 79074c39a7..92805f5b9c 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -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.