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

No files matched your search

+1
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`