This commit is contained in:
eric sciple
2025-10-14 19:07:14 +00:00
parent 82257b56c2
commit b13eccf351
2 changed files with 21 additions and 16 deletions

View File

@ -320,6 +320,7 @@ class GitAuthHelper {
// Configure for both host and container paths to support Docker container actions.
let gitDir = path.join(this.git.getWorkingDirectory(), '.git')
console.log(`Git dir: ${gitDir}`)
core.info(`Git dir: ${gitDir}`)
// Use forward slashes for git config, even on Windows
gitDir = gitDir.replace(/\\/g, '/')
const hostIncludeKey = `includeIf.gitdir:${gitDir}.path`