Skip to content

Commit 2ffe44f

Browse files
committed
Provide GH token to CI build to avoid hitting GH rate limits
1 parent 544ef12 commit 2ffe44f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- name: Build & test
2828
run: npm run test:integration
2929
if: github.ref != 'refs/heads/main'
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # To pull server without rate limit issues in CI
3032

3133
# Build with secrets & run integrations tests, on main only:
3234
- name: Build & test for production release
@@ -38,6 +40,7 @@ jobs:
3840
SENTRY_ORG: http-toolkit
3941
SENTRY_PROJECT: httptoolkit-ui
4042
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # To pull server without rate limit issues in CI
4144

4245
- uses: actions/upload-artifact@v3
4346
with:

0 commit comments

Comments
 (0)