Merge pull request #69 from SebKuzminsky/reassure-recent-gits

tell git to trust the repo
This commit is contained in:
Dawid Dziurla 2022-11-08 17:15:58 +01:00 committed by GitHub
commit 19ce78f0f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,6 +159,14 @@ async function main() {
]) ])
core.endGroup() core.endGroup()
core.startGroup("Trust this git repo")
await exec.exec("docker", [
"exec",
container,
"git", "config", "--global", "--add", "safe.directory", sourceDirectory
])
core.endGroup()
if (imageTag != "trusty") { if (imageTag != "trusty") {
core.startGroup("Install build dependencies") core.startGroup("Install build dependencies")
await exec.exec("docker", [ await exec.exec("docker", [