Improve feedback for missing permissions on GitLab #28848
krichter722
started this conversation in
Suggest an Idea
Replies: 1 comment
-
if you see this message, then the platform didn't return any repo. filter is applied later you should run with debug log level when starting on renovate or changing settings. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
When
renovate
is missing permissions for a repository the output in the logs is similar towhen all repos are unter
myorg/
. Users usually start with a complex filter to try renovate in a subgroup. I then hit this error and started to trial and error regex modifications until I finally narrowed it down tomyorg/*
and finally omittingautodiscoveryFilter
.Through a stroke of luck I figured out that the issue has nothing to do with the repositories not being found, but that it must have been the GitLab Group Access token sitting too low on the group hierarchy, thus not having permissions to read the repos.
After moving it up, I could discover all repositories and use the filter as intended, but the 4 hours until then are lost. Very helpful would have been:
6 of the discovered 6 repositories matched the filter, but the GitLab Access Token is lacking permission for them
.Beta Was this translation helpful? Give feedback.
All reactions