Skip to content

Commit 9b42022

Browse files
committed
fix(ci): add GITHUB_TOKEN to ShellCheck step to avoid rate limits
The shellcheck npm package downloads the ShellCheck binary from GitHub releases at runtime. Without authentication, GitHub API requests hit the 60 req/hr rate limit on shared runner IPs, causing intermittent 403 errors. This was already fixed in bash-e2e-lint.yaml (PR #4049) but was not carried over when the ShellCheck step was added to e2e-tests-lint.yaml in PR #5002. Assisted-by: OpenCode
1 parent 4002fc1 commit 9b42022

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/e2e-tests-lint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343

4444
- name: Run ShellCheck
4545
working-directory: ./e2e-tests
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4648
run: yarn shellcheck
4749

4850
- name: Run Oxfmt check

0 commit comments

Comments
 (0)