Commit c845c08
fix(ci): use GITHUB_TOKEN for release downloads to avoid PAT rate limits
The REPO_ACCESS_TOKEN PAT was hitting GitHub API rate limits, causing
release asset downloads to fail with HTTP 403 errors. The GITHUB_TOKEN
has separate per-workflow rate limits that won't be exhausted by other
workflows.
- Add github_token input to build-website action
- Use github_token for release downloads when provided, fall back to repo_access_token
- Pass GITHUB_TOKEN in preview and release workflows
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 6adba43 commit c845c08
3 files changed
Lines changed: 8 additions & 1 deletion
File tree
- .github
- actions/build-website
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | | - | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments