mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 07:31:05 -05:00
Change WORKDIR in script, not relying on docker run -w by user (#4821)
* fix: #4459 * add exit code * misc fix
This commit is contained in:
parent
35c3fa445c
commit
d923938804
1 changed files with 3 additions and 1 deletions
|
@ -500,7 +500,9 @@ GetGitHubVars() {
|
|||
fatal "Provided volume is not a directory!"
|
||||
fi
|
||||
|
||||
info "Linting all files in mapped directory:[${DEFAULT_WORKSPACE}]"
|
||||
info "Linting all files in mapped directory:[${GITHUB_WORKSPACE}]"
|
||||
|
||||
pushd "${GITHUB_WORKSPACE}" >/dev/null || exit 1
|
||||
|
||||
# No need to touch or set the GITHUB_SHA
|
||||
# No need to touch or set the GITHUB_EVENT_PATH
|
||||
|
|
Loading…
Reference in a new issue