diff --git a/action.yml b/action.yml index 31242ad..b393b62 100644 --- a/action.yml +++ b/action.yml @@ -54,7 +54,7 @@ runs: 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/search/issues\?q\=repo:${{ github.repository }}+is:pr+is:merged \ - | jq .[0].number + | jq .items[0].number ) if [ -z "${pr}" ]