mirror of
https://github.com/actions/checkout.git
synced 2025-12-15 06:49:23 +00:00
rm gh workspace checks
This commit is contained in:
@@ -40,15 +40,6 @@ export function getInputs(): IGitSourceSettings {
|
||||
githubWorkspacePath,
|
||||
result.repositoryPath
|
||||
)
|
||||
if (
|
||||
!(result.repositoryPath + path.sep).startsWith(
|
||||
githubWorkspacePath + path.sep
|
||||
)
|
||||
) {
|
||||
throw new Error(
|
||||
`Repository path '${result.repositoryPath}' is not under '${githubWorkspacePath}'`
|
||||
)
|
||||
}
|
||||
|
||||
// Workflow repository?
|
||||
const isWorkflowRepository =
|
||||
|
||||
Reference in New Issue
Block a user