gitlab-ci: inject key for github.oauthtoken
[nit.git] / .gitlab-ci.yml
index 427075f..c7b8c3e 100644 (file)
@@ -26,6 +26,7 @@ before_script:
   - export CCACHE_DIR=$PWD/.ccache
   - export GRADLE_USER_HOME=$PWD/.gradle
   - export PATH=$PWD/bin:$PATH
+  - git config --add github.oauthtoken "$GITHUB_OAUTHTOKEN" # needed for github api rate limit
   - pwd
   - ccache -s
   - ccache -M 500M