From 76c3da0cb5c36d1969efad1902cf3f36d3601c0e Mon Sep 17 00:00:00 2001 From: Simon Aronsson Date: Tue, 21 Jun 2022 15:24:06 +0200 Subject: [PATCH] switch to boolean value instead of test --- .github/workflows/issues.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues.yaml b/.github/workflows/issues.yaml index 48dd5062..62e75f51 100644 --- a/.github/workflows/issues.yaml +++ b/.github/workflows/issues.yaml @@ -31,7 +31,7 @@ jobs: fi - name: Determine type run: | - if [ ${{ contains(github.event.*.labels.*.name, 'Type: Bug') }} ]; then + if ${{ contains(github.event.*.labels.*.name, 'Type: Bug') }}; then echo "type=bug" >> $GITHUB_ENV else echo "type=story" >> $GITHUB_ENV