Skip to content

Commit 96ba998

Browse files
authored
fix: authorization header type for fetch sponsors (#610)
1 parent 3ed0916 commit 96ba998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/add-sponsors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Fetch sponsors
2424
id: fetch-sponsors
2525
run: |
26-
SPONSORS_JSON=$(curl -s -H "Authorization: token ${{ secrets.PAT }}" \
26+
SPONSORS_JSON=$(curl -s -H "Authorization: bearer ${{ secrets.PAT }}" \
2727
-X POST -d '{
2828
"query": "query { user(login:\"${{ github.repository_owner }}\") { sponsorshipsAsMaintainer(first: 100) { nodes { sponsor { login, avatarUrl, url } } } } }"
2929
}' https://api.github.com/graphql)

0 commit comments

Comments
 (0)