diff --git a/main.js b/main.js index 8198b4d..5d9a132 100644 --- a/main.js +++ b/main.js @@ -155,6 +155,15 @@ async function main() { ]) core.endGroup() + core.startGroup("Trust this git repo") + await exec.exec("docker", [ + "exec", + container, + "bash", "-c", + "git config --global --add safe.directory ${PWD}" + ]) + core.endGroup() + if (imageTag != "trusty") { core.startGroup("Install build dependencies") await exec.exec("docker", [