Commit 2e4fcca
committed
feat: add GitHub token authentication support to aqua-installer
- Add conditional authentication using GITHUB_TOKEN environment variable
- Support Bearer token auth for both curl and wget download methods
- Maintain backward compatibility with unauthenticated requests
- Provide user feedback when authentication is being used
- Enables higher rate limits and potential private repository access
Resolves unauthenticated GitHub API requests when token is available.1 parent c780ffb commit 2e4fcca
1 file changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
71 | 79 | | |
72 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
73 | 85 | | |
74 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
75 | 91 | | |
76 | 92 | | |
77 | 93 | | |
| |||
0 commit comments