Skip to content

Commit 0ac17cf

Browse files
walldissMSevey
andauthored
Update .github/workflows/labels.yml
Co-authored-by: Matthew Sevey <[email protected]>
1 parent 84b5a2f commit 0ac17cf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/labels.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ jobs:
6262
run: |
6363
LABEL_EXISTS=$(gh pr view ${{ github.event.pull_request.number }} --json labels --jq '.labels | map(.name) | contains(["kind:break!"])')
6464
echo "Label exists: $LABEL_EXISTS"
65-
if [[ "$LABEL_EXISTS" == "true" ]]; then
66-
echo "label_exists=true" >> $GITHUB_ENV
67-
else
68-
echo "label_exists=false" >> $GITHUB_ENV
69-
fi
65+
echo "label_exists=${{ $LABEL_EXISTS }}" >> $GITHUB_ENV
7066
env:
7167
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7268

0 commit comments

Comments
 (0)