Skip to content

Commit

Permalink
tweaked curl
Browse files Browse the repository at this point in the history
  • Loading branch information
user committed Dec 20, 2023
1 parent 92be7ef commit f356975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_review_bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
"number": '"$PR_NUMBER"'
}
'
base64_encoded_id=$(curl -X POST \
base64_encoded_id=$(curl -v -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
--data '{"query":"'"$query"'","variables":'"$variables"'}' \
https://api.github.com/graphql | jq -r .data.repository.pullRequest.id)
Expand Down

0 comments on commit f356975

Please sign in to comment.