diff --git a/action.yml b/action.yml index 7fe9075..31242ad 100644 --- a/action.yml +++ b/action.yml @@ -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 )