Skip to content

Commit

Permalink
added api fix to get pr num
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot committed Sep 25, 2024
1 parent a6c7f07 commit c8e3c3d
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:bcgov/onroutebc+is:pr+is:merged \
| jq .[0].number
)
Expand Down

0 comments on commit c8e3c3d

Please sign in to comment.