From 6fe49c6f59c37fb8219f19e23fdbd3cb921a1129 Mon Sep 17 00:00:00 2001 From: Florian Greinacher <florian.greinacher@siemens.com> Date: Sat, 16 Oct 2021 06:20:10 +0200 Subject: [PATCH] docs(running): mention PAT scopes for dry run (#12189) --- docs/usage/getting-started/running.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage/getting-started/running.md b/docs/usage/getting-started/running.md index 9b33176075..eb7da8a38a 100644 --- a/docs/usage/getting-started/running.md +++ b/docs/usage/getting-started/running.md @@ -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. -- GitLab