From 9985c38840b1a172a5117787629c04e9a222dd68 Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Tue, 17 Oct 2023 06:28:56 -0500 Subject: [PATCH] Fix token(s) typo Signed-off-by: Peter Nied --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 120fa08..478cf50 100644 --- a/action.yml +++ b/action.yml @@ -35,7 +35,7 @@ runs: shell: bash - run: | - reviewers=$(curl -s -H "Authorization: token ${{ input.token }}" \ + reviewers=$(curl -s -H "Authorization: token ${{ inputs.token }}" \ "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls/${{ github.event.pull_request.number }}/reviews") approvers=$(echo "$reviewers" | jq -r '.[] | select(.state == "APPROVED") | .user.login')