diff --git a/lib/functions/buildFileList.sh b/lib/functions/buildFileList.sh index c1643669..e80bf681 100755 --- a/lib/functions/buildFileList.sh +++ b/lib/functions/buildFileList.sh @@ -2,6 +2,9 @@ function IssueHintForFullGitHistory() { info "Check that the local repository has the full history and that the repository is not shallow." + if [[ "${RUN_LOCAL}" == "false" ]]; then + info "Check that you set the 'fetch-depth: 0' option for the actions/checkout step in your GitHub Actions workflow." + fi info "See https://github.com/super-linter/super-linter#get-started" info "Is shallow repository: $(git -C "${GITHUB_WORKSPACE}" rev-parse --is-shallow-repository)" }