Skip to content

Commit 30333e5

Browse files
committed
ci: pass GITHUB_TOKEN to tests
brownie sometimes fails on CI with the following message ConnectionError: Status 403 when retrieving repo brownie-mix/token information from GHAPI: 'API rate limit exceeded for 40.77.45.130. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)' This passes GITHUB_TOKEN onto the test environment to increase the rate limit.
1 parent 7a7c56b commit 30333e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
env:
7070
TEST_TYPE: ${{ matrix.type }}
7171
GITHUB_ETHERSCAN: ${{ secrets.GITHUB_ETHERSCAN }}
72+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7273
shell: bash
7374
run: |
7475
bash "scripts/ci_test_${TEST_TYPE}.sh"

0 commit comments

Comments
 (0)