Skip to content

Commit

Permalink
Mention access level for private GitLab repositories (#11357)
Browse files Browse the repository at this point in the history
With a Guest level access Renovate is not able to access the repository.

See https://docs.gitlab.com/ee/user/permissions.html
  • Loading branch information
mbrodala committed Aug 20, 2021
1 parent 1a82293 commit e377804
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/usage/config-presets.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ You do not need to add it as a devDependency or add any other files to the prese
It is also possible to host your preset config using just a regular GitLab repository and without needing to publish it to npmjs.
In such cases Renovate will simply look for a `default.json` file in the default branch.

For a private GitLab repository Renovate requires at least _Reporter_ level access.

To host your preset config on GitLab:

- Create a new repository on GitLab. Normally you'd call it `renovate-config` but it can be named anything
Expand Down Expand Up @@ -182,6 +184,8 @@ But you also probably want the preset to be private too, so how can the other re
The answer is to host your preset using GitHub or GitLab - not npmjs - and make sure you have added the preset's repo to Renovate too.
GitHub will then allow Renovate to access the preset repo whenever it is processing any other repos within the same account/org.

For a private GitLab repository Renovate requires at least _Reporter_ level access.

## Contributing to presets

Have you configured a rule that you think others might benefit from?
Expand Down

0 comments on commit e377804

Please sign in to comment.