Commit 804e16a
fix(ci): separate auth tokens for main repo and tap repo access
The Homebrew cask sync step was using HOMEBREW_TAP_TOKEN as the
github-token for all API calls, but this PAT only has access to
the homebrew-tap repo. Main repo release/asset access now uses
the default GITHUB_TOKEN, while tap repo operations use a separate
Octokit instance with HOMEBREW_TAP_TOKEN.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2f76509 commit 804e16a
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
| |||
229 | 228 | | |
230 | 229 | | |
231 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
232 | 236 | | |
233 | 237 | | |
234 | 238 | | |
| |||
284 | 288 | | |
285 | 289 | | |
286 | 290 | | |
287 | | - | |
| 291 | + | |
| 292 | + | |
288 | 293 | | |
289 | 294 | | |
290 | 295 | | |
| |||
301 | 306 | | |
302 | 307 | | |
303 | 308 | | |
304 | | - | |
| 309 | + | |
305 | 310 | | |
306 | 311 | | |
307 | 312 | | |
| |||
323 | 328 | | |
324 | 329 | | |
325 | 330 | | |
326 | | - | |
| 331 | + | |
327 | 332 | | |
328 | 333 | | |
329 | 334 | | |
| |||
0 commit comments