fix: writeToken -> forkToken (#1295)
Rename writeToken to forkToken to make it clearer. This enables GitHub API to use one token for all reads, and another token just for writing to the forked repository.
Showing
- lib/config/validation.js 1 addition, 1 deletionlib/config/validation.js
- lib/logger/config-serializer.js 1 addition, 1 deletionlib/logger/config-serializer.js
- lib/platform/github/gh-got-wrapper.js 3 additions, 11 deletionslib/platform/github/gh-got-wrapper.js
- lib/platform/github/index.js 53 additions, 14 deletionslib/platform/github/index.js
- lib/workers/repository/init/apis.js 1 addition, 1 deletionlib/workers/repository/init/apis.js
- test/platform/github/__snapshots__/gh-got-wrapper.spec.js.snap 0 additions, 14 deletions...platform/github/__snapshots__/gh-got-wrapper.spec.js.snap
- test/platform/github/__snapshots__/index.spec.js.snap 2 additions, 0 deletionstest/platform/github/__snapshots__/index.spec.js.snap
- test/platform/github/gh-got-wrapper.spec.js 0 additions, 6 deletionstest/platform/github/gh-got-wrapper.spec.js
Loading
Please register or sign in to comment