fix: fix adding safe-directory in container

This commit is contained in:
Marcus Wirtz 2026-04-21 11:32:17 +02:00
parent 0c366fd6a8
commit a0eb51f8ea
No known key found for this signature in database
5 changed files with 47 additions and 17 deletions

View file

@ -14,6 +14,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
throw new Error('GITHUB_WORKSPACE not defined')
}
githubWorkspacePath = path.resolve(githubWorkspacePath)
result.githubWorkspacePath = githubWorkspacePath
core.debug(`GITHUB_WORKSPACE = '${githubWorkspacePath}'`)
fsHelper.directoryExistsSync(githubWorkspacePath, true)