You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gitlab-ci-local uses git symbolic-ref --short refs/remotes/origin/HEAD to determine the remote default branch in GitLab. Depending on how the local repository was setup, this might not be available (see this link for details) and causing failures like this:
gitlab-ci-local
usesgit symbolic-ref --short refs/remotes/origin/HEAD
to determine the remote default branch in GitLab. Depending on how the local repository was setup, this might not be available (see this link for details) and causing failures like this:A workaround is to add the symbolic-ref manually as described here.
A fix might be possible by parsing the output from
git remote show origin
to determine the default branch as described here.Expected behavior
gitlab-ci-local
runs without failure even ifrefs/remotes/origin/HEAD
is not availableHost information
Manjaro
gitlab-ci-local 4.50.1
Containerd binary
podman version 5.1.0
The text was updated successfully, but these errors were encountered: