mirror of
https://github.com/actions/checkout.git
synced 2026-06-14 16:53:47 +08:00
Merge d1d381abe7 into c2d88d3ecc
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user