Skip to content

Commit

Permalink
docs(running): mention PAT scopes for dry run (#12189)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgreinacher committed Oct 16, 2021
1 parent 1d98165 commit 6fe49c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/getting-started/running.md
Expand Up @@ -163,9 +163,9 @@ Auto discovery does not work with a GitHub App.
Alternatively as comma-separated environment variable `RENOVATE_REPOSITORIES`.
The GitHub App installation token is scoped at most to a single organization and running on multiple organizations requires multiple invocations of `renovate` with different `token` and `repositories` parameters.

#### GitLab CE/EE
#### GitLab

First, [create a personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) for the bot account (select `read_user`, `api` and `write_repository` scopes).
First, [create a personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) for the bot account (select `read_user`, `api` and `write_repository` scopes, or `read_user`, `read_api` and `read_repository` for dry runs).
Configure it either as `token` in your `config.js` file, or in environment variable `RENOVATE_TOKEN`, or via CLI `--token=`.
Don't forget to configure `platform=gitlab` somewhere in config.

Expand Down

0 comments on commit 6fe49c6

Please sign in to comment.