diff --git a/lib/linter.sh b/lib/linter.sh index 4e1b171b..f2a8a36c 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -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