Commit 3125d8b
authored
fix(ci): use apps.getAuthenticated() for GitHub App tokens (#27)
The workflow was failing with "Resource not accessible by integration"
because GitHub App tokens cannot access the /user endpoint. That endpoint
is only available for OAuth tokens. Changed to use apps.getAuthenticated()
which returns the app information and works correctly with GitHub App tokens.
Assisted-by: Claude Code (Sonnet 4.5)
Signed-off-by: Colin Walters <[email protected]>1 parent e905f34 commit 3125d8b
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
0 commit comments