Skip to content

Commit

Permalink
Fix token(s) typo
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Oct 17, 2023
1 parent 0c09097 commit 9985c38
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 @@ -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')
Expand Down

0 comments on commit 9985c38

Please sign in to comment.