Skip to content

Commit

Permalink
FIX: now use JWT in header
Browse files Browse the repository at this point in the history
  • Loading branch information
wiemanboy committed Oct 26, 2024
1 parent cc0b237 commit 0528005
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,11 @@ jobs:
"https://api.github.com/app/installations")
access_token_response=$(curl -X POST \
-H "Authorization: Bearer ${GH_TOKEN}" \
-H "Authorization: Bearer ${JWT}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/app/installations/56423252/access_tokens")
echo "${access_token_response}" >> access_token_response.json
echo "$access_token_response"
access_token=$(echo "${access_token_response}" | jq -r .token)
echo "GH_TOKEN=${access_token}" >> $GITHUB_ENV
Expand Down

0 comments on commit 0528005

Please sign in to comment.