We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b5a2f commit 0ac17cfCopy full SHA for 0ac17cf
.github/workflows/labels.yml
@@ -62,11 +62,7 @@ jobs:
62
run: |
63
LABEL_EXISTS=$(gh pr view ${{ github.event.pull_request.number }} --json labels --jq '.labels | map(.name) | contains(["kind:break!"])')
64
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
+ echo "label_exists=${{ $LABEL_EXISTS }}" >> $GITHUB_ENV
70
env:
71
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72
0 commit comments