Skip to content

Commit

Permalink
Update .github/workflows/labels.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Sevey <15232757+MSevey@users.noreply.github.com>
  • Loading branch information
walldiss and MSevey authored Sep 11, 2024
1 parent 84b5a2f commit 0ac17cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 0ac17cf

Please sign in to comment.