summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-11-12 10:18:02 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-11-12 10:53:12 +1100
commit52316e628e651dc038a9c04ab6fd262aabcf60cb (patch)
treeb8cc715d0251d8631d51b1bde6e7b2291129b26b /pkg
parente8b97c9fe2db8d39084789a8503db4cbadcdde42 (diff)
fix broken CI (see https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html)
try this WIP
Diffstat (limited to 'pkg')
-rw-r--r--pkg/integration/components/runner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/integration/components/runner.go b/pkg/integration/components/runner.go
index d25f3795c..11b34db11 100644
--- a/pkg/integration/components/runner.go
+++ b/pkg/integration/components/runner.go
@@ -144,6 +144,7 @@ func createFixture(test *IntegrationTest, paths Paths) error {
shell.RunCommand(`git config user.email "CI@example.com"`)
shell.RunCommand(`git config user.name "CI"`)
shell.RunCommand(`git config commit.gpgSign false`)
+ shell.RunCommand(`git config protocol.file.allow always`)
test.SetupRepo(shell)