Add missing Git authentication support for group level bot build tokens
This commit adds the missing functionality to access a Git repository per HTTPS by authenticating using a group level bot build token. Prior to this this, trying to access a Git repository with said token would lead to an authentication error. Accessing Git repositories using project level bot build tokens worked perfectly fine, but the same check for group level bots was missing. This access scenario occurs if a group level bot (group level access token) is used to trigger a CI pipeline (e.g. pipeline trigger API) and the CI job tries to clone the desired repository. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/345543 Changelog: fixed
Showing
Please register or sign in to comment