Skip to content

Commit dc127a6

Browse files
committed
Remove GH_PAT diagnostic step now that the tap push works
Root cause was a fine-grained PAT in the GH_PAT secret without Contents: write on homebrew-heard. Token updated; tap now publishes 0.2.2. Diagnostic is no longer needed. https://claude.ai/code/session_017hkC9vmFd9ejBQNxzBfcWP
1 parent 94b6173 commit dc127a6

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

.github/workflows/update-tap.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,6 @@ jobs:
2727
-e "s/sha256 \"[^\"]*\"/sha256 \"${SHA256}\"/" \
2828
Casks/heard.rb
2929
30-
- name: Diagnose GH_PAT permissions
31-
env:
32-
GH_PAT: ${{ secrets.GH_PAT }}
33-
run: |
34-
echo "=== Token scopes (classic PAT) ==="
35-
curl -sI -H "Authorization: token ${GH_PAT}" https://api.github.com/user \
36-
| grep -i '^x-oauth-scopes:' || echo "(no x-oauth-scopes header — fine-grained token or invalid)"
37-
echo "=== Authenticated user ==="
38-
curl -s -H "Authorization: token ${GH_PAT}" https://api.github.com/user | jq -r '.login // "AUTH FAILED"'
39-
echo "=== Write permission on homebrew-heard ==="
40-
curl -s -H "Authorization: token ${GH_PAT}" \
41-
https://api.github.com/repos/execsumo/homebrew-heard | jq '.permissions'
42-
4330
- name: Push cask to Homebrew tap
4431
env:
4532
GH_PAT: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)