Skip to content

Commit

Permalink
Removed validation for "Repository path is under" the GITHUB_WORKSPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguescosta committed Oct 17, 2021
1 parent 15afe97 commit eb8d76c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/input-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit eb8d76c

Please sign in to comment.