From 0ac17cf0e10f8d47b6cdf5769fa6009da5156f62 Mon Sep 17 00:00:00 2001 From: Vlad <13818348+walldiss@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:43:51 +0200 Subject: [PATCH] Update .github/workflows/labels.yml Co-authored-by: Matthew Sevey <15232757+MSevey@users.noreply.github.com> --- .github/workflows/labels.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index eeaab84df0..aa5c3125a1 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -62,11 +62,7 @@ jobs: run: | LABEL_EXISTS=$(gh pr view ${{ github.event.pull_request.number }} --json labels --jq '.labels | map(.name) | contains(["kind:break!"])') echo "Label exists: $LABEL_EXISTS" - if [[ "$LABEL_EXISTS" == "true" ]]; then - echo "label_exists=true" >> $GITHUB_ENV - else - echo "label_exists=false" >> $GITHUB_ENV - fi + echo "label_exists=${{ $LABEL_EXISTS }}" >> $GITHUB_ENV env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}