Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Apr 21, 2024
1 parent 8ae4451 commit 544eae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
PR_LABELS='${{ toJSON(github.event.pull_request.labels) }}'
echo "C"
if echo "$PR_LABELS" | grep -q "\"name\":\"$REQUIRED_LABEL\""; then
if echo "${PR_LABELS}" | grep -q "\"name\":\"$REQUIRED_LABEL\""; then
echo "D1"
echo "Required label '$REQUIRED_LABEL' is present."
else:
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Check for Required Label
run: |
REQUIRED_LABEL="testnet-pass"
PR_LABELS="${{ toJSON(github.event.pull_request.labels) }}"
PR_LABELS='${{ toJSON(github.event.pull_request.labels) }}'
if echo "$PR_LABELS" | grep -q "\"name\":\"$REQUIRED_LABEL\""; then
echo "Required label '$REQUIRED_LABEL' is present."
Expand Down

0 comments on commit 544eae5

Please sign in to comment.