From 47b023b9c4b1ced7df956a31742bd300f5679ca3 Mon Sep 17 00:00:00 2001 From: cberg-aot <93226309+cberg-aot@users.noreply.github.com> Date: Wed, 25 Sep 2024 16:57:07 -0700 Subject: [PATCH] fix: added missing index to request (#11) --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" ]