Skip to content

Commit

Permalink
Use PERSONAL_ACCESS_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Aug 16, 2024
1 parent 04ebab5 commit fc0fd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ttrt-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
id: get-runners
run: |
echo "Fetching self-hosted runners..."
response=$(curl -s -w "%{http_code}" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
response=$(curl -s -w "%{http_code}" -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/${{ github.repository }}/actions/runners")
echo "Response: $response"
Expand Down

0 comments on commit fc0fd5a

Please sign in to comment.