Skip to content

Commit

Permalink
Update triage workflow to fix conditional (#19682)
Browse files Browse the repository at this point in the history
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 <ekaterinag@element.io>
  • Loading branch information
kittykat authored Nov 10, 2021
1 parent 28f0049 commit 8e27911
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/triage-move-labelled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8e27911

Please sign in to comment.