the browser-facing portion of osu!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove "default" github token

nanaya fca1f981 13d7c178

+6 -17
-5
.docker/.composer-auth.json.example
··· 1 - { 2 - "github-oauth": { 3 - "github.com": "98cbc568911ef1e060a3a31623f2c80c1786d5ff" 4 - } 5 - }
-1
.docker/.gitignore
··· 1 1 * 2 - !.composer-auth.json.example 3 2 !.gitignore 4 3 !.my.cnf.example
+1 -1
.github/workflows/lint.yml
··· 51 51 52 52 - name: Install Composer dependencies 53 53 run: >- 54 - composer config -g github-oauth.github.com 98cbc568911ef1e060a3a31623f2c80c1786d5ff 54 + composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} 55 55 && composer install --prefer-dist --no-progress 56 56 57 57 - name: Install js dependencies
+1 -1
.github/workflows/tests.yml
··· 9 9 CACHE_DRIVER: redis 10 10 CACHE_DRIVER_LOCAL: array 11 11 DB_USERNAME: root 12 - GITHUB_TOKEN: 98cbc568911ef1e060a3a31623f2c80c1786d5ff 12 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 13 13 NOTIFICATION_ENDPOINT: ws://127.0.0.1:3000 14 14 NOTIFICATION_SERVER_LISTEN_PORT: 3000 15 15 OSU_INSTALL_DEV: 1
+3 -2
build.sh
··· 21 21 COMPOSER="composer" 22 22 fi 23 23 24 - # dummy user, no privilege github token to avoid github api limit 25 - ${COMPOSER} config -g github-oauth.github.com 98cbc568911ef1e060a3a31623f2c80c1786d5ff 24 + if [ -n "${GITHUB_TOKEN}" ]; then 25 + ${COMPOSER} config -g github-oauth.github.com "${GITHUB_TOKEN}" 26 + fi 26 27 27 28 rm -f bootstrap/cache/*.php bootstrap/cache/*.json 28 29
+1 -1
docker-compose.yml
··· 6 6 DB_HOST: db 7 7 ES_HOST: elasticsearch:9200 8 8 ES_SCORES_HOST: elasticsearch:9200 9 - GITHUB_TOKEN: "${GITHUB_TOKEN:-98cbc568911ef1e060a3a31623f2c80c1786d5ff}" 9 + GITHUB_TOKEN: "${GITHUB_TOKEN}" 10 10 NOTIFICATION_REDIS_HOST: redis 11 11 REDIS_HOST: redis 12 12 SESSION_DRIVER: redis
-6
docker/development/prepare.sh
··· 35 35 _run artisan key:generate 36 36 fi 37 37 38 - if [ ! -f .docker/.composer/auth.json ]; then 39 - echo "Copying default composer auth file" 40 - mkdir -p .docker/.composer 41 - cp .docker/.composer-auth.json.example .docker/.composer/auth.json 42 - fi 43 - 44 38 if [ ! -f .env.testing ]; then 45 39 echo "Copying default test env file" 46 40 cp .env.testing.example .env.testing