forked from Santandersecurityresearch/DependencyCheck_Action
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Looking at the scan parameter
Dependency-Check_Action/action.yml
Lines 27 to 28 in 1b5d19f
| - '--scan' | |
| - '${{ inputs.path }}' |
If a . is provided here (as is the default), won't it just scan the home directory inside the container? github's working directory is mounted at /github/workspace (as indicated by the out parameter in
Dependency-Check_Action/action.yml
Lines 31 to 32 in 1b5d19f
| - '--out' | |
| - '/github/workspace/${{ inputs.out }}' |
So doesn't /github/workspace need to be prefixed to inputs.path (if it's a relative path), to scan in github's actual workspace?
additionally what do you do if someone provides absolute paths (in this case and in the case of out)?
i can do a pr if needed
Metadata
Metadata
Assignees
Labels
No labels