Skip to content

Commit

Permalink
added api fix to get pr num (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Sep 25, 2024
1 parent a6c7f07 commit ff6c4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
pr=$(\
curl -sL -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ inputs.token }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository }}/commits/${{ github.event.after }}/pulls \
https://api.github.com/search/issues\?q\=repo:${{ github.repository }}+is:pr+is:merged \
| jq .[0].number
)
Expand Down

0 comments on commit ff6c4fe

Please sign in to comment.