This commit is contained in:
eric sciple
2025-10-14 21:06:49 +00:00
parent b13eccf351
commit 74fe54f098

View File

@@ -319,8 +319,6 @@ class GitAuthHelper {
// For local config, use includeIf.gitdir to match the .git directory.
// 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`