Skip to content

Fix broken builds due to git security update

Simon Rose requested to merge trust_builds_directory into master

In git 2.35, there is a security update to deal with a vulnerability: https://github.blog/2022-04-12-git-security-vulnerability-announced/

However, this seems to interfere with our gitlab runner. Following this https://stackoverflow.com/questions/71901632/fatal-error-unsafe-repository-home-repon-is-owned-by-someone-else we simply disable this check.

Note that a fix to this might be released with Gitlab runner 15.5, see https://gitlab.com/gitlab-org/gitlab-runner/-/issues/29022. Once that is confirmed to work, we should remove this as it leaves the security vulnerability present.

Edited by Simon Rose

Merge request reports

Loading