mirror of
https://github.com/actions/checkout.git
synced 2025-06-09 10:39:04 +00:00
rm gh workspace checks
This commit is contained in:
parent
25a956c84d
commit
b58389b65b
2 changed files with 1 additions and 13 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue