Skip to content

Commit

Permalink
Merge pull request #6 from danielvinitski/test6
Browse files Browse the repository at this point in the history
gha test
  • Loading branch information
danielvwix authored Dec 27, 2023
2 parents 9eb7b6a + c37c2d8 commit 07b2a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/{{ github.event.pull_request.number}}"
API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${{ github.event.pull_request.number }}"
PR_LABELS=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "$API_URL" | jq --raw-output '.labels | map(.name) | join(", ")')
echo "PR_LABELS=$PR_LABELS" >> $GITHUB_ENV
NUMBER_OF_LABELS=$(echo "$PR_LABELS" |wc -w)
Expand Down

0 comments on commit 07b2a55

Please sign in to comment.