feat: deprecate platform tokens (#3067)
Deprecate use of “special” env var like `GITHUB_TOKEN` and instead standardize on `RENOVATE_*` environment variables instead. Closes #2834 BREAKING CHANGE: For GitHub, GitLab, Bitbucket and VSTS you need to migrate `*_ENDPOINT` to `RENOVATE_ENDPOINT`, `*_TOKEN` to `RENOVATE_TOKEN`, and same for `BITBUCKET_USERNAME` and `BITBUCKET_PASSWORD`.
Showing
- docs/local-development.md 1 addition, 4 deletionsdocs/local-development.md
- docs/self-hosting.md 5 additions, 19 deletionsdocs/self-hosting.md
- lib/config/env.js 15 additions, 58 deletionslib/config/env.js
- lib/config/index.js 21 additions, 16 deletionslib/config/index.js
- test/config/__snapshots__/env.spec.js.snap 17 additions, 74 deletionstest/config/__snapshots__/env.spec.js.snap
- test/config/env.spec.js 15 additions, 25 deletionstest/config/env.spec.js
- test/config/index.spec.js 14 additions, 8 deletionstest/config/index.spec.js
- test/platform/github/index.spec.js 1 addition, 1 deletiontest/platform/github/index.spec.js
- test/platform/gitlab/index.spec.js 1 addition, 1 deletiontest/platform/gitlab/index.spec.js
Loading
Please register or sign in to comment