From 8e279116ae34dba910b6743a8e8d6bb3fbc1ac46 Mon Sep 17 00:00:00 2001 From: Kat Gerasimova Date: Wed, 10 Nov 2021 16:42:18 +0000 Subject: [PATCH] Update triage workflow to fix conditional (#19682) Docs say to use curly brackets, internet says that can break multiline conditionals. Trying to fix the if statement applying only to the first step in the job and the second step ignoring the conditional. Signed-off-by: Ekaterina Gerasimova --- .github/workflows/triage-move-labelled.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/triage-move-labelled.yml b/.github/workflows/triage-move-labelled.yml index 9feb237d11..5cf5b78a5a 100644 --- a/.github/workflows/triage-move-labelled.yml +++ b/.github/workflows/triage-move-labelled.yml @@ -83,8 +83,7 @@ jobs: name: Move A-Voice Messages to Voice message board runs-on: ubuntu-latest if: > - ${{ - contains(github.event.issue.labels.*.name, 'A-Voice Messages') }} + contains(github.event.issue.labels.*.name, 'A-Voice Messages') steps: - uses: konradpabjan/move-labeled-or-milestoned-issue@219d384e03fa4b6460cd24f9f37d19eb033a4338 with: