mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Clarify access scope for publicly visible access token
Summary: This token is restricted to public_repo access rights and it's alright to store in the open: ``` $ curl https://api.github.com/user?access_token={...} X-OAuth-Scopes: public_repo ``` Closes https://github.com/facebook/react-native/pull/12569 Differential Revision: D4629308 Pulled By: hramos fbshipit-source-id: 581a4c581f7b07068eaf1e953f62fc85ceb05ab2
This commit is contained in:
parent
152abb678e
commit
7be7aa8ed5
@ -49,7 +49,7 @@ test:
|
||||
- source scripts/circle-ci-android-setup.sh && waitForAVD
|
||||
|
||||
override:
|
||||
# eslint bot
|
||||
# eslint bot. This GitHub token grants public_repo access scope.
|
||||
- cat <(echo eslint; npm run lint --silent -- --format=json; echo flow; npm run flow --silent -- check --json) | GITHUB_TOKEN="af6ef0d15709bc91d""06a6217a5a826a226fb57b7" CI_USER=$CIRCLE_PROJECT_USERNAME CI_REPO=$CIRCLE_PROJECT_REPONAME PULL_REQUEST_NUMBER=$CIRCLE_PR_NUMBER node bots/code-analysis-bot.js
|
||||
# JS tests for dependencies installed with npm3
|
||||
- npm run flow -- check
|
||||
|
Loading…
x
Reference in New Issue
Block a user