Skip to content

Commit

Permalink
#42 Using curl for fetching issue labels 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismoh committed Jul 1, 2022
1 parent ae885ee commit f0eb65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo $issueNumber
issueUrl=$( echo ${{ github.event.pull_request.base.repo.issues_url }} | sed "s/{\/number}/\/$issueNumber/g" )
echo $issueUrl
labels=$( curl $issueUrl | jq '. | labels')
labels=$( curl $issueUrl | jq '.{} | labels')
echo $labels
echo "issueContext$issueNumber=$(echo $labels)" >> $GITHUB_ENV
done
Expand Down

0 comments on commit f0eb65f

Please sign in to comment.