Commit 9db83ea
committed
fix: Add ACTIONS_BOT_TOKEN and VBOT_GITHUB_API_TOKEN to token check
The getGitHubToken() helper was missing ACTIONS_BOT_TOKEN (used in CI) and
VBOT_GITHUB_API_TOKEN (used in legacy code), causing authentication to fail
and hitting unauthenticated rate limits (60 req/hr instead of 5000 req/hr).
This was causing 403/429 errors when checking cloud-docs for 471 connectors.
Updated token priority order:
1. REDPANDA_GITHUB_TOKEN
2. ACTIONS_BOT_TOKEN (CI)
3. GITHUB_TOKEN (GitHub Actions default)
4. VBOT_GITHUB_API_TOKEN (legacy)
5. GH_TOKEN (GitHub CLI)1 parent 8e286a7 commit 9db83ea
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
19 | 22 | | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
0 commit comments