3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
82
82
# Default: true
83
83
persist-credentials : ' '
84
84
85
- # Relative path under $GITHUB_WORKSPACE to place the repository
85
+ # Path relative to $GITHUB_WORKSPACE to place the repository
86
86
path : ' '
87
87
88
88
# Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ inputs:
49
49
description : ' Whether to configure the token or SSH key with the local git config'
50
50
default : true
51
51
path :
52
- description : ' Relative path under $GITHUB_WORKSPACE to place the repository'
52
+ description : ' Path relative to $GITHUB_WORKSPACE to place the repository'
53
53
clean :
54
54
description : ' Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching'
55
55
default : true
Original file line number Diff line number Diff line change @@ -40,15 +40,6 @@ export function getInputs(): IGitSourceSettings {
40
40
githubWorkspacePath ,
41
41
result . repositoryPath
42
42
)
43
- if (
44
- ! ( result . repositoryPath + path . sep ) . startsWith (
45
- githubWorkspacePath + path . sep
46
- )
47
- ) {
48
- throw new Error (
49
- `Repository path '${ result . repositoryPath } ' is not under '${ githubWorkspacePath } '`
50
- )
51
- }
52
43
53
44
// Workflow repository?
54
45
const isWorkflowRepository =
0 commit comments