1
0
mirror of https://github.com/actions/checkout.git synced 2026-06-14 16:53:47 +08:00
This commit is contained in:
Xavier Solé Nogués
2025-11-24 13:56:38 +01:00
committed by GitHub
4 changed files with 11 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
result.repositoryPath
)
if (
!core.getInput('allow-path-outside-workspace') &&
!(result.repositoryPath + path.sep).startsWith(
githubWorkspacePath + path.sep
)