Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi there!
I'd like to set the URLs whitelist for my git integration such that it can only pull from repositories that fo.low the pattern below:
git@gitlab.com:<group_name>/
where group_name corresponds to my gitlab group.
What should I add as a URL whitelist in Git settings if I want to achieve this? I don't want to add all the different repositories manually, but use one URL whitelist option instead.
Cheers and thanks!
Hi,
The URL whitelist expects a regular expression, so you would need to create an expression that will be valid for all groups. There are many websites on the internet to validate regular expression (https://regex101.com/ for example).
I hope this helps.
Best,
Vitaliy