Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require full Git environment validation when users enable IGNORE_GITIGNORED_FILES #5383

Closed
1 task done
Emmanuel-Mekonnen opened this issue Mar 14, 2024 · 19 comments · Fixed by #5599 or #5569
Closed
1 task done
Labels
enhancement New feature or request O: backlog 🤖 Backlog, stale ignores this label

Comments

@Emmanuel-Mekonnen
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Upgrading from v5 to v6 is resulting in .git /action/lib/functions/validation.sh: line 202: GITHUB_SHA: unbound variable error.

Expected Behavior

For super-linter container to run correctly.

Super-Linter version

v6 & slim-v6

Relevant log output

/action/lib/functions/validation.sh: line 202: GITHUB_SHA: unbound variable.

Steps To Reproduce

Running the following command

docker run --rm \
    -v "$(git rev-parse --show-toplevel):/tmp/lint" \
    -e DEFAULT_WORKSPACE=/tmp/lint \
    -e SUPPRESS_POSSUM=true \
    -e RUN_LOCAL=true \
    -e USE_FIND_ALGORITHM=true \
    -e LINTER_RULES_PATH=".dsop/linters" \
    ghcr.io/super-linter/super-linter:slim-v6

Error shows up locally and on Gitlab pipeline.
Downgrading to v5 fixes this issue.

Anything else?

No response

@Emmanuel-Mekonnen Emmanuel-Mekonnen added the bug Something isn't working label Mar 14, 2024
@ferrarimarco
Copy link
Collaborator

Hi @Emmanuel-Mekonnen !

We have a few tests that match how you're invoking super-linter already, and they don't reproduce the issue you're facing.

Can you try running slim-v6.3.0?

@Emmanuel-Mekonnen
Copy link
Author

Hi @Emmanuel-Mekonnen !

We have a few tests that match how you're invoking super-linter already, and they don't reproduce the issue you're facing.

Can you try running slim-v6.3.0?

Running 6.3.0 is producing the same error.

@Emmanuel-Mekonnen
Copy link
Author

Emmanuel-Mekonnen commented Mar 14, 2024

Running a more extensive command with debug:

docker run --rm \
    -v "$(git rev-parse --show-toplevel):/tmp/lint" \
    -e DEFAULT_WORKSPACE=/tmp/lint \
    -e SUPPRESS_POSSUM=true \
    -e RUN_LOCAL=true \
    -e USE_FIND_ALGORITHM=true \
    -e LINTER_RULES_PATH=".dsop/linters" \
    -e IGNORE_GENERATED_FILES=true \
    -e IGNORE_GITIGNORED_FILES=true \
    -e LOG_LEVEL="DEBUG" \
    -e MULTI_STATUS=true \
    -e VALIDATE_ALL_CODEBASE=true \
    -e VALIDATE_BASH=true \
    -e VALIDATE_CSS=true \
    -e VALIDATE_DOCKERFILE_HADOLINT=true \
    -e VALIDATE_ENV=true \
    -e VALIDATE_GOOGLE_JAVA_FORMAT=true \
    -e VALIDATE_HTML=true \
    -e VALIDATE_JAVASCRIPT_ES=true \
    -e VALIDATE_MARKDOWN=true \
    -e VALIDATE_NATURAL_LANGUAGE=true \
    -e VALIDATE_PYTHON_BLACK=true \
    -e VALIDATE_PYTHON_FLAKE8=true \
    -e VALIDATE_PYTHON_MYPY=true \
    -e VALIDATE_PYTHON_PYLINT=true \
    -e VALIDATE_TYPESCRIPT_ES=true \
    -e VALIDATE_YAML=true \
    ghcr.io/super-linter/super-linter:slim-v6.3.0 2> >(grep -v 'fatal:' >&2)

I get the following logs:

2024-03-14 19:27:04 [INFO]   --------------------------------------------
2024-03-14 19:27:04 [INFO]   Gathering GitHub information...
2024-03-14 19:27:04 [INFO]   RUN_LOCAL has been set to: true. Bypassing GitHub Actions variables...
2024-03-14 19:27:04 [INFO]   Successfully validated GITHUB_WORKSPACE: /tmp/lint
2024-03-14 19:27:04 [DEBUG]   Skip the initalization of GITHUB_SHA because we don't need it
2024-03-14 19:27:04 [DEBUG]   Setting MULTI_STATUS to false because we are not running on GitHub Actions
2024-03-14 19:27:04 [DEBUG]   Successfully detected the default branch for this repository: master
2024-03-14 19:27:04 [INFO]   The default branch for this repository is set to: master
2024-03-14 19:27:04 [DEBUG]   Skip GITHUB_TOKEN, GITHUB_REPOSITORY, and GITHUB_RUN_ID validation because we don't need these variables for GitHub Actions status reports. MULTI_STATUS: false
2024-03-14 19:27:05 [DEBUG]   Configuring Git safe directories
2024-03-14 19:27:05 [DEBUG]   Set /tmp/lint as a Git safe directory
2024-03-14 19:27:05 [DEBUG]   Set /tmp/lint as a Git safe directory
2024-03-14 19:27:05 [DEBUG]   Set /tmp/lint as a Git safe directory
2024-03-14 19:27:05 [DEBUG]   TYPESCRIPT_STANDARD_TSCONFIG_FILE: /tmp/lint/tsconfig.json
2024-03-14 19:27:05 [DEBUG]   R_RULES_FILE_PATH_IN_ROOT: /tmp/lint/.lintr
2024-03-14 19:27:05 [INFO]   --------------------------------------------
2024-03-14 19:27:05 [INFO]   Validating the configuration
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_ANSIBLE
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_ANSIBLE
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_BASH
2024-03-14 19:27:05 [DEBUG]   VALIDATE_BASH has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_BASH_EXEC
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_BASH_EXEC
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CHECKOV
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CHECKOV
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLANG_FORMAT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CLANG_FORMAT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLOUDFORMATION
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CLOUDFORMATION
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLOJURE
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CLOJURE
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_COFFEESCRIPT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_COFFEESCRIPT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CPP
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CPP
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CSS
2024-03-14 19:27:05 [DEBUG]   VALIDATE_CSS has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_DART
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_DART
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_DOCKERFILE_HADOLINT
2024-03-14 19:27:05 [DEBUG]   VALIDATE_DOCKERFILE_HADOLINT has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_EDITORCONFIG
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_EDITORCONFIG
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GITHUB_ACTIONS
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GITHUB_ACTIONS
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GITLEAKS
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GITLEAKS
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GHERKIN
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GHERKIN
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GO
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GO
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GO_MODULES
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GO_MODULES
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GOOGLE_JAVA_FORMAT
2024-03-14 19:27:05 [DEBUG]   VALIDATE_GOOGLE_JAVA_FORMAT has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GROOVY
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GROOVY
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_HTML
2024-03-14 19:27:05 [DEBUG]   VALIDATE_HTML has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVA
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JAVA
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVASCRIPT_ES
2024-03-14 19:27:05 [DEBUG]   VALIDATE_JAVASCRIPT_ES has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVASCRIPT_STANDARD
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JAVASCRIPT_STANDARD
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSCPD
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JSCPD
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSON
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JSON
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSONC
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JSONC
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSX
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JSX
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_KUBERNETES_KUBECONFORM
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_KUBERNETES_KUBECONFORM
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_KOTLIN
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_KOTLIN
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_LATEX
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_LATEX
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_LUA
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_LUA
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_MARKDOWN
2024-03-14 19:27:05 [DEBUG]   VALIDATE_MARKDOWN has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_NATURAL_LANGUAGE
2024-03-14 19:27:05 [DEBUG]   VALIDATE_NATURAL_LANGUAGE has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_OPENAPI
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_OPENAPI
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PERL
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PERL
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_BUILTIN
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PHP_BUILTIN
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PHPCS
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PHP_PHPCS
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PHPSTAN
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PHP_PHPSTAN
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PSALM
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PHP_PSALM
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PROTOBUF
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PROTOBUF
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_BLACK
2024-03-14 19:27:05 [DEBUG]   VALIDATE_PYTHON_BLACK has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_PYLINT
2024-03-14 19:27:05 [DEBUG]   VALIDATE_PYTHON_PYLINT has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_FLAKE8
2024-03-14 19:27:05 [DEBUG]   VALIDATE_PYTHON_FLAKE8 has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_ISORT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PYTHON_ISORT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_MYPY
2024-03-14 19:27:05 [DEBUG]   VALIDATE_PYTHON_MYPY has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_R
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_R
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RAKU
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_RAKU
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RENOVATE
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_RENOVATE
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RUBY
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_RUBY
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SCALAFMT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SCALAFMT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SHELL_SHFMT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SHELL_SHFMT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SNAKEMAKE_LINT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SNAKEMAKE_LINT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SNAKEMAKE_SNAKEFMT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SNAKEMAKE_SNAKEFMT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_STATES
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_STATES
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SQL
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SQL
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SQLFLUFF
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SQLFLUFF
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TEKTON
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TEKTON
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_FMT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TERRAFORM_FMT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_TFLINT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TERRAFORM_TFLINT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_TERRASCAN
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TERRAFORM_TERRASCAN
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAGRUNT
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TERRAGRUNT
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TSX
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TSX
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TYPESCRIPT_ES
2024-03-14 19:27:05 [DEBUG]   VALIDATE_TYPESCRIPT_ES has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TYPESCRIPT_STANDARD
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TYPESCRIPT_STANDARD
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_XML
2024-03-14 19:27:05 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_XML
2024-03-14 19:27:05 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_YAML
2024-03-14 19:27:05 [DEBUG]   VALIDATE_YAML has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG]   - Excluding [ANSIBLE] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [BASH] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [BASH_EXEC] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [CHECKOV] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [CLANG_FORMAT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [CLOUDFORMATION] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [CLOJURE] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [COFFEESCRIPT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [CPP] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [CSS] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [DART] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [DOCKERFILE_HADOLINT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [EDITORCONFIG] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [GITHUB_ACTIONS] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [GITLEAKS] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [GHERKIN] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [GO] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [GO_MODULES] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [GOOGLE_JAVA_FORMAT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [GROOVY] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [HTML] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [JAVA] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [JAVASCRIPT_ES] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [JAVASCRIPT_STANDARD] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [JSCPD] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [JSON] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [JSONC] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [JSX] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [KUBERNETES_KUBECONFORM] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [KOTLIN] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [LATEX] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [LUA] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [MARKDOWN] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [NATURAL_LANGUAGE] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [OPENAPI] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [PERL] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [PHP_BUILTIN] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [PHP_PHPCS] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [PHP_PHPSTAN] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [PHP_PSALM] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [PROTOBUF] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [PYTHON_BLACK] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [PYTHON_PYLINT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [PYTHON_FLAKE8] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [PYTHON_ISORT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [PYTHON_MYPY] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [R] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [RAKU] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [RENOVATE] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [RUBY] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [SCALAFMT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [SHELL_SHFMT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [SNAKEMAKE_LINT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [SNAKEMAKE_SNAKEFMT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [STATES] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [SQL] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [SQLFLUFF] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [TEKTON] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [TERRAFORM_FMT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [TERRAFORM_TFLINT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [TERRAFORM_TERRASCAN] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [TERRAGRUNT] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [TSX] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [TYPESCRIPT_ES] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [TYPESCRIPT_STANDARD] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Excluding [XML] files in code base...
2024-03-14 19:27:05 [DEBUG]   - Validating [YAML] files in code base...
2024-03-14 19:27:05 [DEBUG]   Set ANSIBLE_DIRECTORY to the default: /tmp/lint/ansible
2024-03-14 19:27:05 [DEBUG]   Validate the local Git environment
2024-03-14 19:27:05 [DEBUG]   Check if /tmp/lint is a Git repository
.git
2024-03-14 19:27:05 [DEBUG]   /tmp/lint is a Git repository
2024-03-14 19:27:05 [DEBUG]   Git branches:
* master
  development
2024-03-14 19:27:05 [DEBUG]   Git HEAD: commit fba885b1ba8863e5eb18a4b3f5f59158c88555fd
Merge: 91db22abf 465807408
Author: 
Date:   Thu Mar 14 15:22:24 2024 -0400

    Merge remote-tracking branch 'origin/development' into master

 .gitignore             |   1 +
 .gitlab/deploy.yml     |   2 +-
 dev/package-lock.json  |   74 ++++++++++++++++++++++++-------------------
 3 files changed, 77 insertions(+), 55 deletions(-)
/action/lib/functions/validation.sh: line 202: GITHUB_SHA: unbound variable
2024-03-14 19:27:05 [DEBUG]   Captured exit code: 1
2024-03-14 19:27:05 [DEBUG]   Removing temporary files and directories
2024-03-14 19:27:05 [DEBUG]   LOG_FILE_PATH: /tmp/lint/super-linter.log
2024-03-14 19:27:05 [DEBUG]   Skipping the moving of the log file from /tmp/tmp.mYCDBKFi5Q to /tmp/lint/super-linter.log

@ferrarimarco
Copy link
Collaborator

Thanks for providing this log, it's helpful. You shouldn't hit that code path because you set USE_FIND_ALGORITHM=true:

super-linter/lib/linter.sh

Lines 742 to 749 in 770c355

if [[ "${USE_FIND_ALGORITHM}" == "false" ]] || [[ "${IGNORE_GITIGNORED_FILES}" == "true" ]]; then
debug "Validate the local Git environment"
ValidateLocalGitRepository
ValidateGitShaReference
ValidateDefaultGitBranch
else
debug "Skipped the validation of the local Git environment because we don't depend on it."
fi

So that condition should actually be [[ "${USE_FIND_ALGORITHM}" == "true" ]]

This is indeed a bug.

@hepcat72
Copy link

hepcat72 commented Apr 1, 2024

Is there a fix for this? I guess I could turn USE_FIND_ALGORITHM off? I use it so I can lint new/untracked files pre-commit.

@MenszgUDoker

This comment was marked as duplicate.

@LucasLarson
Copy link

@MenszgUDoker’s comment with line breaks in a code fence

> * [1] 2024-03-14 19:27:04 [INFO] --------------------------------------------
2024-03-14 19:27:04 [INFO] Gathering GitHub information...
2024-03-14 19:27:04 [INFO] RUN_LOCAL has been set to: true. Bypassing GitHub Actions variables...
2024-03-14 19:27:04 [INFO] Successfully validated GITHUB_WORKSPACE: /tmp/lint
2024-03-14 19:27:04 [DEBUG] Skip the initalization of GITHUB_SHA because we don't need it
2024-03-14 19:27:04 [DEBUG] Setting MULTI_STATUS to false because we are not running on GitHub Actions
2024-03-14 19:27:04 [DEBUG] Successfully detected the default branch for this repository: master
2024-03-14 19:27:04 [INFO] The default branch for this repository is set to: master
2024-03-14 19:27:04 [DEBUG] Skip GITHUB_TOKEN, GITHUB_REPOSITORY, and GITHUB_RUN_ID validation because we don't need these variables for GitHub Actions status reports. MULTI_STATUS: false
2024-03-14 19:27:05 [DEBUG] Configuring Git safe directories
2024-03-14 19:27:05 [DEBUG] Set /tmp/lint as a Git safe directory
2024-03-14 19:27:05 [DEBUG] Set /tmp/lint as a Git safe directory
2024-03-14 19:27:05 [DEBUG] Set /tmp/lint as a Git safe directory
2024-03-14 19:27:05 [DEBUG] TYPESCRIPT_STANDARD_TSCONFIG_FILE: /tmp/lint/tsconfig.json
2024-03-14 19:27:05 [DEBUG] R_RULES_FILE_PATH_IN_ROOT: /tmp/lint/.lintr
2024-03-14 19:27:05 [INFO] --------------------------------------------
2024-03-14 19:27:05 [INFO] Validating the configuration
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_ANSIBLE
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_ANSIBLE
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_BASH
2024-03-14 19:27:05 [DEBUG] VALIDATE_BASH has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_BASH_EXEC
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_BASH_EXEC
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CHECKOV
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_CHECKOV
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLANG_FORMAT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_CLANG_FORMAT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLOUDFORMATION
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_CLOUDFORMATION
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLOJURE
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_CLOJURE
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_COFFEESCRIPT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_COFFEESCRIPT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CPP
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_CPP
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CSS
2024-03-14 19:27:05 [DEBUG] VALIDATE_CSS has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_DART
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_DART
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_DOCKERFILE_HADOLINT
2024-03-14 19:27:05 [DEBUG] VALIDATE_DOCKERFILE_HADOLINT has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_EDITORCONFIG
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_EDITORCONFIG
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GITHUB_ACTIONS
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_GITHUB_ACTIONS
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GITLEAKS
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_GITLEAKS
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GHERKIN
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_GHERKIN
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GO
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_GO
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GO_MODULES
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_GO_MODULES
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GOOGLE_JAVA_FORMAT
2024-03-14 19:27:05 [DEBUG] VALIDATE_GOOGLE_JAVA_FORMAT has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GROOVY
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_GROOVY
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_HTML
2024-03-14 19:27:05 [DEBUG] VALIDATE_HTML has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVA
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_JAVA
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVASCRIPT_ES
2024-03-14 19:27:05 [DEBUG] VALIDATE_JAVASCRIPT_ES has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVASCRIPT_STANDARD
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_JAVASCRIPT_STANDARD
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSCPD
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_JSCPD
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSON
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_JSON
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSONC
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_JSONC
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSX
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_JSX
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_KUBERNETES_KUBECONFORM
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_KUBERNETES_KUBECONFORM
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_KOTLIN
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_KOTLIN
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_LATEX
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_LATEX
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_LUA
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_LUA
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_MARKDOWN
2024-03-14 19:27:05 [DEBUG] VALIDATE_MARKDOWN has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_NATURAL_LANGUAGE
2024-03-14 19:27:05 [DEBUG] VALIDATE_NATURAL_LANGUAGE has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_OPENAPI
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_OPENAPI
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PERL
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_PERL
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_BUILTIN
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_PHP_BUILTIN
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PHPCS
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_PHP_PHPCS
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PHPSTAN
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_PHP_PHPSTAN
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PSALM
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_PHP_PSALM
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PROTOBUF
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_PROTOBUF
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_BLACK
2024-03-14 19:27:05 [DEBUG] VALIDATE_PYTHON_BLACK has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_PYLINT
2024-03-14 19:27:05 [DEBUG] VALIDATE_PYTHON_PYLINT has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_FLAKE8
2024-03-14 19:27:05 [DEBUG] VALIDATE_PYTHON_FLAKE8 has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_ISORT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_PYTHON_ISORT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_MYPY
2024-03-14 19:27:05 [DEBUG] VALIDATE_PYTHON_MYPY has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_R
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_R
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RAKU
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_RAKU
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RENOVATE
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_RENOVATE
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RUBY
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_RUBY
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SCALAFMT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_SCALAFMT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SHELL_SHFMT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_SHELL_SHFMT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SNAKEMAKE_LINT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_SNAKEMAKE_LINT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SNAKEMAKE_SNAKEFMT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_SNAKEMAKE_SNAKEFMT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_STATES
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_STATES
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SQL
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_SQL
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SQLFLUFF
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_SQLFLUFF
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TEKTON
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_TEKTON
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_FMT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_TERRAFORM_FMT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_TFLINT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_TERRAFORM_TFLINT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_TERRASCAN
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_TERRAFORM_TERRASCAN
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAGRUNT
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_TERRAGRUNT
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TSX
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_TSX
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TYPESCRIPT_ES
2024-03-14 19:27:05 [DEBUG] VALIDATE_TYPESCRIPT_ES has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TYPESCRIPT_STANDARD
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_TYPESCRIPT_STANDARD
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_XML
2024-03-14 19:27:05 [DEBUG] Configuration didn't provide a custom value for VALIDATE_XML
2024-03-14 19:27:05 [DEBUG] Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_YAML
2024-03-14 19:27:05 [DEBUG] VALIDATE_YAML has a valid boolean string value: true
2024-03-14 19:27:05 [DEBUG] - Excluding [ANSIBLE] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [BASH] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [BASH_EXEC] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [CHECKOV] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [CLANG_FORMAT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [CLOUDFORMATION] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [CLOJURE] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [COFFEESCRIPT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [CPP] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [CSS] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [DART] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [DOCKERFILE_HADOLINT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [EDITORCONFIG] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [GITHUB_ACTIONS] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [GITLEAKS] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [GHERKIN] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [GO] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [GO_MODULES] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [GOOGLE_JAVA_FORMAT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [GROOVY] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [HTML] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [JAVA] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [JAVASCRIPT_ES] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [JAVASCRIPT_STANDARD] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [JSCPD] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [JSON] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [JSONC] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [JSX] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [KUBERNETES_KUBECONFORM] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [KOTLIN] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [LATEX] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [LUA] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [MARKDOWN] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [NATURAL_LANGUAGE] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [OPENAPI] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [PERL] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [PHP_BUILTIN] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [PHP_PHPCS] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [PHP_PHPSTAN] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [PHP_PSALM] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [PROTOBUF] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [PYTHON_BLACK] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [PYTHON_PYLINT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [PYTHON_FLAKE8] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [PYTHON_ISORT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [PYTHON_MYPY] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [R] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [RAKU] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [RENOVATE] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [RUBY] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [SCALAFMT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [SHELL_SHFMT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [SNAKEMAKE_LINT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [SNAKEMAKE_SNAKEFMT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [STATES] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [SQL] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [SQLFLUFF] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [TEKTON] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [TERRAFORM_FMT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [TERRAFORM_TFLINT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [TERRAFORM_TERRASCAN] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [TERRAGRUNT] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [TSX] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [TYPESCRIPT_ES] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [TYPESCRIPT_STANDARD] files in code base...
2024-03-14 19:27:05 [DEBUG] - Excluding [XML] files in code base...
2024-03-14 19:27:05 [DEBUG] - Validating [YAML] files in code base...
2024-03-14 19:27:05 [DEBUG] Set ANSIBLE_DIRECTORY to the default: /tmp/lint/ansible
2024-03-14 19:27:05 [DEBUG] Validate the local Git environment
2024-03-14 19:27:05 [DEBUG] Check if /tmp/lint is a Git repository .git
2024-03-14 19:27:05 [DEBUG] /tmp/lint is a Git repository
2024-03-14 19:27:05 [DEBUG] Git branches: * master development
2024-03-14 19:27:05 [DEBUG] Git HEAD: commit fba885b1ba8863e5eb18a4b3f5f59158c88555fd Merge: 91db22abf 465807408 Author: Date: Thu Mar 14 15:22:24 2024 -0400 Merge remote-tracking branch 'origin/development' into master .gitignore | 1 + .gitlab/deploy.yml | 2 +- dev/package-lock.json | 74 ++++++++++++++++++++++++------------------- 3 files changed, 77 insertions(+), 55 deletions(-) /action/lib/functions/validation.sh: line 202: GITHUB_SHA: unbound variable
2024-03-14 19:27:05 [DEBUG] Captured exit code: 1
2024-03-14 19:27:05 [DEBUG] Removing temporary files and directories
2024-03-14 19:27:05 [DEBUG] LOG_FILE_PATH: /tmp/lint/super-linter.log
2024-03-14 19:27:05 [DEBUG] Skipping the moving of the log file from /tmp/tmp.mYCDBKFi5Q to /tmp/lint/super-linter.log

@ferrarimarco
Copy link
Collaborator

ferrarimarco commented Apr 16, 2024

I had a second look at this one.

This validation check looks right to me:

super-linter/lib/linter.sh

Lines 742 to 749 in 770c355

if [[ "${USE_FIND_ALGORITHM}" == "false" ]] || [[ "${IGNORE_GITIGNORED_FILES}" == "true" ]]; then
debug "Validate the local Git environment"
ValidateLocalGitRepository
ValidateGitShaReference
ValidateDefaultGitBranch
else
debug "Skipped the validation of the local Git environment because we don't depend on it."
fi

because if USE_FIND_ALGORITHM == false, we use Git to gather the list of files to lint, eventually discarding files that didn't change in the last commit, so we need to validate the Git environment in that case.

@MenszgUDoker can you please post an unedited debug log, so we can see what's going on?

Thanks!

PS: please, update to super-linter v6.3.1 :)

@ferrarimarco ferrarimarco removed the O: backlog 🤖 Backlog, stale ignores this label label Apr 16, 2024
@ferrarimarco
Copy link
Collaborator

Closing for the lack of response :)

@ferrarimarco ferrarimarco closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
@hepcat72
Copy link

Well, the question wasn't addressed to me, but I get the same error. I can certainly post my own log... Let me get back to you.

@hepcat72
Copy link

+ docker run --pull=always -e USE_FIND_ALGORITHM=true -e 'FILTER_REGEX_EXCLUDE=(\.pylintrc|\.markdownlint\.yml|pull_request_template\.md|\.mypy_cache|migrations|static\/bootstrap.*|.*templates\/DataRepo\/search\/downloads\/download_.*\.tsv)' -e LINTER_RULES_PATH=/ -e IGNORE_GITIGNORED_FILES=true -e RUN_LOCAL=true -e DEFAULT_BRANCH=main -e 'EXTRA=-smp 6,sockets=3,cores=3' -v /Users/rleach/PROJECT-local/TRACEBASE/tracebase:/tmp/lint ghcr.io/super-linter/super-linter:slim-v6.3.0
slim-v6.3.0: Pulling from super-linter/super-linter
Digest: sha256:8d7419597b489a0beee985b13e141d92a0fd5f65a30e7a398a99ac62d68b5341
Status: Image is up to date for ghcr.io/super-linter/super-linter:slim-v6.3.0
--------------------------------------------------------------------------------

                              /@@#///////@@/(@//@%/(@.@(       @@
                          @@//////////////////////////////#*  @@@
                        @////@//(///////////@@@@@///@//@/@**//@@(
                      @///////@///////////////@@@@    (           @,
                     @/(&/@////////////////////                     @
                    @////////////////////////@@                      @
                  @%////////(//////////%/////&@            @@       *,@           ______________
             @@@@@/@/#/////(&//////////////////                       .@         /              \
        *@@@@@.    .%///(//@//////////////////&.   .@@,                 @%      / Don't mind me  \
      @@%           .&@&&/@.@//&/////(//////////    @@@@@@@@@         .. &@    / I'm just looking \
    @@%               @@@@@   @&/////////////////#   @/       V  @@/ ,@@@ @   <  for some trash... |
@@@%                   @@@@        .%@@@@//////#@ @   @@         @     .,.     \__________________/
                                          @@@/@(  (@@@@% @/\      %
                                           @@@@(    .     .@@/\   #
                                             @                  %@%

--------------------------------------------------------------------------------
2024-04-24 15:28:24 [INFO]   ---------------------------------------------
2024-04-24 15:28:24 [INFO]   --- GitHub Actions Multi Language Linter ----
2024-04-24 15:28:24 [INFO]    - Image Creation Date: 2024-02-29T07:13:35Z
2024-04-24 15:28:24 [INFO]    - Image Revision: e0fc164bba85f4b58c6cd17ba1dfd435d01e8a06
2024-04-24 15:28:24 [INFO]    - Image Version: e0fc164bba85f4b58c6cd17ba1dfd435d01e8a06
2024-04-24 15:28:24 [INFO]   ---------------------------------------------
2024-04-24 15:28:24 [INFO]   ---------------------------------------------
2024-04-24 15:28:24 [INFO]   The Super-Linter source code can be found at:
2024-04-24 15:28:24 [INFO]    - https://github.com/super-linter/super-linter
2024-04-24 15:28:24 [INFO]   ---------------------------------------------
2024-04-24 15:28:24 [INFO]   - Validating all files in code base...
chktex: chktex: WARNING -- Could not find global resource file.
ChkTeX v1.7.8 - Copyright 1995-96 Jens T. Berger Thielemann.
Compiled with POSIX extended regex support.
rubocop: 1.60.2
perl: 
This is perl 5, version 38, subversion 2 (v5.38.2) built for x86_64-linux-thread-multi

Copyright 1987-2023, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.
xmllint: xmllint: using libxml version 21106
   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 HTTP DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Schemas Schematron Modules Debug Zlib Lzma 
ansible-lint: ansible-lint 24.2.0 using ansible-core:2.16.4 ansible-compat:4.1.11 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8
eslint: v8.57.0
markdownlint: 0.39.0
snakefmt: snakefmt, version 0.10.0
cpplint: Cpplint fork (https://github.com/cpplint/cpplint)
cpplint 1.6.1
Python 3.12.2 (main, Feb  7 2024, 22:13:24) [GCC 13.2.1 20231014]
editorconfig-checker: 2.7.2
gitleaks: v8.18.2
phpstan: PHPStan - PHP Static Analysis Tool 1.10.48
asl-validator: 3.8.2
actionlint: 1.6.27
installed by building from source
built with go1.22.0 compiler for linux/amd64
tekton-lint: 1.0.0-beta.9
terrascan: version: v1.18.11
terraform: Terraform v1.7.4
on linux_amd64
2024/02/28 15:15:23 traces export: Post "http:///dev/otel-grpc.sock": http: no Host in request URL
2024/02/28 15:15:23 traces export: Post "http:///dev/otel-grpc.sock": http: no Host in request URL
R: R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-musl (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.
shellcheck: ShellCheck - shell script analysis tool
version: 0.9.0
license: GNU General Public License, version 3
website: https://www.shellcheck.net
jscpd: 3.5.10
black: black, 24.2.0 (compiled: no)
Python (CPython) 3.12.2
prettier: 3.2.5
php: PHP 8.2.15 (cli) (built: Jan 18 2024 16:40:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.15, Copyright (c) Zend Technologies
textlint: v14.0.3
npm-groovy-lint: GroovyLint: Successfully processed CodeNarc: 
CodeNarc version 3.3.0
npm-groovy-lint version 14.2.2

Embeds:
CodeNarc version 3.3.0
- Groovy version 3.0.9 (superlite)
renovate-config-validator: (node:226) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
37.214.0
golangci-lint: golangci-lint has version 1.56.2 built with go1.22.0 from 58a724a0 on 2024-02-15T20:35:23Z
kubeconform: v0.6.4
golangci-lint: golangci-lint has version 1.56.2 built with go1.22.0 from 58a724a0 on 2024-02-15T20:35:23Z
gherkin-lint: Version command not supported
eslint: v8.57.0
scalafmt: scalafmt 3.8.0
stylelint: 15.11.0
sqlfluff: sqlfluff, version 2.3.5
bash-exec: Version command not supported
google-java-format: google-java-format: Version 1.20.0
phpcs: PHP_CodeSniffer version 3.8.0 (stable) by Squiz and PHPCSStandards
terragrunt: terragrunt version v0.55.9
psalm: Psalm 5.22.1@e9dad66e11274315dac27e08349c628c7d6a1a43
pylint: pylint 3.1.0
astroid 3.1.0
Python 3.12.2 (main, Feb  7 2024, 22:13:24) [GCC 13.2.1 20231014]
shfmt: v3.8.0
snakemake: 8.5.3
mypy: mypy 1.8.0 (compiled: yes)
eslint: v8.57.0
coffeelint: 5.2.11
tflint: TFLint version 0.50.3
+ ruleset.terraform (0.5.0-bundled)
cfn-lint: cfn-lint 0.85.2
flake8: 7.0.0 (mccabe: 0.7.0, pycodestyle: 2.11.1, pyflakes: 3.2.0) CPython 3.12.2 on
Linux
spectral: 6.11.0
clj-kondo: clj-kondo v2024.02.12
eslint: v8.57.0
ts-standard: 12.0.2
eslint: v8.57.0
protolint: protolint version 0.47.6(80ba08f)
raku: Welcome to Rakudo™ v2023.11.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2023.11.
prettier: 3.2.5
hadolint: Haskell Dockerfile Linter 2.12.0
checkstyle: Checkstyle version: 10.13.0
clang-format: clang-format version 17.0.5 (https://github.com/llvm/llvm-project.git 98bfdac5ce82d1679f8af9a57501471812ab68d7)
ktlint: 1.1.1
yamllint: yamllint 1.35.1
dart: Dart SDK version: 3.3.0 (stable) (Tue Feb 13 10:25:19 2024 +0000) on "linux_x64"
isort: 
                 _                 _
                (_) ___  ___  _ __| |_
                | |/ _/ / _ \/ '__  _/
                | |\__ \/\_\/| |  | |_
                |_|\___/\___/\_/   \_/

      isort your imports, so you don't have to.

                    VERSION 5.13.2
eslint: v8.57.0
htmlhint: 1.1.4
sql-lint: 1.0.0
checkov: 3.2.26
lua: Lua 5.3.5  Copyright (C) 1994-2018 Lua.org, PUC-Rio
standard: 17.1.0
2024-04-24 15:28:24 [INFO]   --------------------------------------------
2024-04-24 15:28:24 [INFO]   Gathering GitHub information...
2024-04-24 15:28:24 [INFO]   RUN_LOCAL has been set to: true. Bypassing GitHub Actions variables...
2024-04-24 15:28:24 [INFO]   Successfully validated GITHUB_WORKSPACE: /tmp/lint
2024-04-24 15:28:24 [INFO]   The default branch for this repository is set to: main
2024-04-24 15:28:24 [INFO]   --------------------------------------------
2024-04-24 15:28:24 [INFO]   Validating the configuration
.git
/action/lib/functions/validation.sh: line 202: GITHUB_SHA: unbound variable

If this is sufficient for you, let me know.

@ferrarimarco
Copy link
Collaborator

Hi @hepcat72 !

Can you please update to the latest super-linter version, and set the LOG_LEVEL=DEBUG environment variable, and attach the log again?

Thanks!

@hepcat72
Copy link

Pulling now.

@hepcat72
Copy link

Sorry for the slow response. Got called away while it was running. The new version still has the error, and there is still no linting output:

+ docker run --pull=always -e USE_FIND_ALGORITHM=true -e 'FILTER_REGEX_EXCLUDE=(\.pylintrc|\.markdownlint\.yml|pull_request_template\.md|\.mypy_cache|migrations|static\/bootstrap.*|.*templates\/DataRepo\/search\/downloads\/download_.*\.tsv)' -e LINTER_RULES_PATH=/ -e IGNORE_GITIGNORED_FILES=true -e RUN_LOCAL=true -e DEFAULT_BRANCH=main -e LOG_LEVEL=DEBUG -e 'EXTRA=-smp 6,sockets=3,cores=3' -v /Users/rleach/PROJECT-local/TRACEBASE/tracebase:/tmp/lint ghcr.io/super-linter/super-linter:slim-v6.4.1
slim-v6.4.1: Pulling from super-linter/super-linter
4abcf2066143: Already exists 
c3cdf40b8bda: Pulling fs layer 
3a6cecfe7003: Pulling fs layer 
60d2faee92e7: Pulling fs layer 
b62713ed4827: Pull complete 
de54821ba791: Pull complete 
e3a8c3778eb4: Pull complete 
86bf9ef08858: Pull complete 
1bdc0c78b241: Pull complete 
b872820ef71d: Pull complete 
757b390e2546: Pull complete 
42ca57bb80cf: Pull complete 
6b0891f57f57: Pull complete 
3d95dafd66b3: Pull complete 
247a84f1d32d: Pull complete 
c061d9b8ebef: Pull complete 
2421c42eae61: Pull complete 
0b7ebb37259a: Pull complete 
c251fe2ff08d: Pull complete 
a1519681b8f1: Pull complete 
c2200f876690: Pull complete 
5c92ff8d122b: Pull complete 
737e7c9cfe58: Pull complete 
8f97cf3352fe: Pull complete 
74719650aa13: Pull complete 
5ea1bc541b0e: Pull complete 
1d22deb253c6: Pull complete 
27c6be4b65df: Pull complete 
efd0eb671edc: Pull complete 
064076827ace: Pull complete 
ad7f0f609879: Pull complete 
7551ddc4de0b: Pull complete 
b5c3bab4ee3f: Pull complete 
d99a07d170d0: Pull complete 
3955403c723e: Pull complete 
93eca1486d08: Pull complete 
83f61ee5d375: Pull complete 
cad6463a07fd: Pull complete 
a2601609f6a5: Pull complete 
0ad6d3830f6d: Pull complete 
330071d9008a: Pull complete 
1d7365712264: Pull complete 
4aba8a15f656: Pull complete 
88fbac51cb19: Pull complete 
df7c900590c6: Pull complete 
f59997070627: Pull complete 
195976c09379: Pull complete 
1a7470cd958f: Pull complete 
11469b96f303: Pull complete 
91621d5eb7f1: Pull complete 
47e36b66dcde: Pull complete 
90b0ecac8073: Pull complete 
4f4fb700ef54: Pull complete 
edc43fb18a9e: Pull complete 
44745dd0619d: Pull complete 
93313c26049a: Pull complete 
c6cb6fa0a081: Pull complete 
eaafcdcb00b1: Pull complete 
11a4c1b50484: Pull complete 
b6b9056b49b6: Pull complete 
add609f936cd: Pull complete 
6de7e6b08804: Pull complete 
Digest: sha256:c0f2e9c55bd741bc6944e209aa0f27391c26678010363c4c0393ae675ff1e828
Status: Downloaded newer image for ghcr.io/super-linter/super-linter:slim-v6.4.1
2024-04-24 15:57:25 [DEBUG]   LOG_LEVEL is set to: DEBUG
2024-04-24 15:57:25 [DEBUG]   Log level variables. LOG_DEBUG: true, LOG_VERBOSE: true, LOG_NOTICE: true. LOG_WARN: true, LOG_ERROR: true
2024-04-24 15:57:25 [DEBUG]   Skipped GitHub Actions log group start for group: Super-Linter initialization
2024-04-24 15:57:25 [DEBUG]   ACTIONS_RUNNER_DEBUG has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   BASH_EXEC_IGNORE_LIBRARIES has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   CREATE_LOG_FILE has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   DISABLE_ERRORS has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   ENABLE_GITHUB_ACTIONS_GROUP_TITLE has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   IGNORE_GENERATED_FILES has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   IGNORE_GITIGNORED_FILES has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   LOG_DEBUG has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   LOG_ERROR has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   LOG_NOTICE has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   LOG_VERBOSE has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   LOG_WARN has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   MULTI_STATUS has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   RUN_LOCAL has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   SSH_INSECURE_NO_VERIFY_GITHUB_KEY has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   SSH_SETUP_GITHUB has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   SUPPRESS_FILE_TYPE_WARN has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   SUPPRESS_POSSUM has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   TEST_CASE_RUN has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   USE_FIND_ALGORITHM has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   VALIDATE_ALL_CODEBASE has a valid boolean string value: true
2024-04-24 15:57:25 [DEBUG]   YAML_ERROR_ON_WARNING has a valid boolean string value: false
2024-04-24 15:57:25 [DEBUG]   TF_LOG_LEVEL: debug
2024-04-24 15:57:25 [DEBUG]   TFLINT_LOG: debug
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_ANSIBLE
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_ARM
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_BASH
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_BASH_EXEC
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_CHECKOV
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_CLANG_FORMAT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_CLOUDFORMATION
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_CLOJURE
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_COFFEESCRIPT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_CPP
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_CSHARP
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_CSS
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_DART
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_DOCKERFILE_HADOLINT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_EDITORCONFIG
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_ENV
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_GITHUB_ACTIONS
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_GITLEAKS
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_GHERKIN
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_GO
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_GO_MODULES
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_GO_RELEASER
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_GOOGLE_JAVA_FORMAT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_GROOVY
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_HTML
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_JAVA
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_JAVASCRIPT_ES
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_JAVASCRIPT_STANDARD
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_JSCPD
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_JSON
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_JSONC
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_JSX
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_KUBERNETES_KUBECONFORM
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_KOTLIN
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_LATEX
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_LUA
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_MARKDOWN
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_NATURAL_LANGUAGE
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_OPENAPI
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PERL
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PHP_BUILTIN
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PHP_PHPCS
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PHP_PHPSTAN
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PHP_PSALM
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_POWERSHELL
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PROTOBUF
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PYTHON_BLACK
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PYTHON_PYLINT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PYTHON_FLAKE8
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PYTHON_ISORT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PYTHON_MYPY
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_PYTHON_RUFF
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_R
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_RAKU
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_RENOVATE
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_RUBY
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_RUST_2015
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_RUST_2018
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_RUST_2021
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_RUST_CLIPPY
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_SCALAFMT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_SHELL_SHFMT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_SNAKEMAKE_LINT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_SNAKEMAKE_SNAKEFMT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_STATES
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_SQL
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_SQLFLUFF
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_TEKTON
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_TERRAFORM_FMT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_TERRAFORM_TFLINT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_TERRAFORM_TERRASCAN
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_TERRAGRUNT
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_TSX
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_TYPESCRIPT_ES
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_TYPESCRIPT_STANDARD
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_XML
2024-04-24 15:57:25 [DEBUG]   Initializing FILE_ARRAY_YAML
2024-04-24 15:57:25 [INFO]   --------------------------------------------------------------------------------

                              /@@#///////@@/(@//@%/(@.@(       @@
                          @@//////////////////////////////#*  @@@
                        @////@//(///////////@@@@@///@//@/@**//@@(
                      @///////@///////////////@@@@    (           @,
                     @/(&/@////////////////////                     @
                    @////////////////////////@@                      @
                  @%////////(//////////%/////&@            @@       *,@           ______________
             @@@@@/@/#/////(&//////////////////                       .@         /              \
        *@@@@@.    .%///(//@//////////////////&.   .@@,                 @%      / Don't mind me  \
      @@%           .&@&&/@.@//&/////(//////////    @@@@@@@@@         .. &@    / I'm just looking \
    @@%               @@@@@   @&/////////////////#   @/       V  @@/ ,@@@ @   <  for some trash... |
@@@%                   @@@@        .%@@@@//////#@ @   @@         @     .,.     \__________________/
                                          @@@/@(  (@@@@% @/\      %
                                           @@@@(    .     .@@/\   #
                                             @                  %@%

--------------------------------------------------------------------------------
2024-04-24 15:57:25 [INFO]   ---------------------------------------------
2024-04-24 15:57:25 [INFO]   --- GitHub Actions Multi Language Linter ----
2024-04-24 15:57:25 [INFO]    - Image Creation Date: 2024-04-22T11:35:46Z
2024-04-24 15:57:25 [INFO]    - Image Revision: 4758be622215d0954c8353ee4877ffd60111cf8e
2024-04-24 15:57:25 [INFO]    - Image Version: 4758be622215d0954c8353ee4877ffd60111cf8e
2024-04-24 15:57:25 [INFO]   ---------------------------------------------
2024-04-24 15:57:25 [INFO]   ---------------------------------------------
2024-04-24 15:57:25 [INFO]   The Super-Linter source code can be found at:
2024-04-24 15:57:25 [INFO]    - https://github.com/super-linter/super-linter
2024-04-24 15:57:25 [INFO]   ---------------------------------------------
2024-04-24 15:57:25 [INFO]   - Validating all files in code base...
2024-04-24 15:57:25 [DEBUG]   Removing Languages from LANGUAGE_ARRAY for slim image...
2024-04-24 15:57:25 [DEBUG]   found item:[ARM], removing Language...
2024-04-24 15:57:25 [DEBUG]   found item:[CSHARP], removing Language...
2024-04-24 15:57:25 [DEBUG]   found item:[ENV], removing Language...
2024-04-24 15:57:25 [DEBUG]   found item:[POWERSHELL], removing Language...
2024-04-24 15:57:25 [DEBUG]   found item:[RUST_2015], removing Language...
2024-04-24 15:57:25 [DEBUG]   found item:[RUST_2018], removing Language...
2024-04-24 15:57:26 [DEBUG]   found item:[RUST_2021], removing Language...
2024-04-24 15:57:26 [DEBUG]   found item:[RUST_CLIPPY], removing Language...
2024-04-24 15:57:26 [INFO]   chktex: chktex: WARNING -- Could not find global resource file.
ChkTeX v1.7.8 - Copyright 1995-96 Jens T. Berger Thielemann.
Compiled with POSIX extended regex support.
rubocop: 1.62.1
perl: 
This is perl 5, version 38, subversion 2 (v5.38.2) built for x86_64-linux-thread-multi

Copyright 1987-2023, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.
xmllint: xmllint: using libxml version 21107
   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 HTTP DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Schemas Schematron Modules Debug Zlib Lzma 
ansible-lint: ansible-lint 24.2.2 using ansible-core:2.16.6 ansible-compat:4.1.11 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8
eslint: v8.57.0
markdownlint: 0.39.0
snakefmt: snakefmt, version 0.10.1
cpplint: Cpplint fork (https://github.com/cpplint/cpplint)
cpplint 1.6.1
Python 3.12.3 (main, Apr 10 2024, 04:12:22) [GCC 13.2.1 20231014]
editorconfig-checker: 2.7.2
gitleaks: v8.18.2
phpstan: PHPStan - PHP Static Analysis Tool 1.10.48
asl-validator: 3.8.2
actionlint: 1.6.27
installed by building from source
built with go1.22.0 compiler for linux/amd64
tekton-lint: 1.0.2
terrascan: version: v1.18.11
terraform: Terraform v1.8.0
on linux_amd64

Your version of Terraform is out of date! The latest version
is 1.8.1. You can update by downloading from https://www.terraform.io/downloads.html
2024/04/17 15:09:33 traces export: Post "http:///dev/otel-grpc.sock": http: no Host in request URL
2024/04/17 15:09:33 traces export: Post "http:///dev/otel-grpc.sock": http: no Host in request URL
R: R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-musl (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.
shellcheck: ShellCheck - shell script analysis tool
version: 0.10.0
license: GNU General Public License, version 3
website: https://www.shellcheck.net
jscpd: 3.5.10
black: black, 24.4.0 (compiled: no)
Python (CPython) 3.12.3
prettier: 3.2.5
php: PHP 8.2.18 (cli) (built: Apr 11 2024 14:41:12) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.18, Copyright (c) Zend Technologies
textlint: v14.0.4
npm-groovy-lint: GroovyLint: Successfully processed CodeNarc: 
CodeNarc version 3.3.0
npm-groovy-lint version 14.4.0

Embeds:
CodeNarc version 3.3.0
- Groovy version 3.0.9 (superlite)
renovate-config-validator: (node:207) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
37.296.0
golangci-lint: golangci-lint has version 1.57.2 built with go1.22.1 from 77a8601a on 2024-03-28T19:01:11Z
ruff: ruff 0.3.7
kubeconform: v0.6.4
golangci-lint: golangci-lint has version 1.57.2 built with go1.22.1 from 77a8601a on 2024-03-28T19:01:11Z
gherkin-lint: Version command not supported
eslint: v8.57.0
scalafmt: scalafmt 3.8.1
stylelint: 15.11.0
sqlfluff: sqlfluff, version 3.0.4
bash-exec: Version command not supported
google-java-format: google-java-format: Version 1.22.0
phpcs: PHP_CodeSniffer version 3.8.0 (stable) by Squiz and PHPCSStandards
terragrunt: terragrunt version v0.57.0
psalm: Psalm 5.23.1@8471a896ccea3526b26d082f4461eeea467f10a4
pylint: pylint 3.1.0
astroid 3.1.0
Python 3.12.3 (main, Apr 10 2024, 04:12:22) [GCC 13.2.1 20231014]
shfmt: v3.8.0
snakemake: 8.10.7
mypy: mypy 1.9.0 (compiled: yes)
eslint: v8.57.0
coffeelint: 5.2.11
tflint: TFLint version 0.50.3
+ ruleset.terraform (0.5.0-bundled)
cfn-lint: cfn-lint 0.86.2
flake8: 7.0.0 (mccabe: 0.7.0, pycodestyle: 2.11.1, pyflakes: 3.2.0) CPython 3.12.3 on
Linux
spectral: 6.11.1
clj-kondo: clj-kondo v2024.03.13
eslint: v8.57.0
ts-standard: 12.0.2
eslint: v8.57.0
protolint: protolint version 0.49.6(b018d2a)
raku: Welcome to Rakudo™ v2023.11.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2023.11.
prettier: 3.2.5
hadolint: Haskell Dockerfile Linter 2.12.0
checkstyle: Checkstyle version: 10.15.0
clang-format: clang-format version 17.0.5 (https://github.com/llvm/llvm-project.git 98bfdac5ce82d1679f8af9a57501471812ab68d7)
ktlint: ktlint version 1.2.1
yamllint: yamllint 1.35.1
dart: Dart SDK version: 3.3.3 (stable) (Tue Mar 26 14:21:33 2024 +0000) on "linux_x64"
isort: 
                 _                 _
                (_) ___  ___  _ __| |_
                | |/ _/ / _ \/ '__  _/
                | |\__ \/\_\/| |  | |_
                |_|\___/\___/\_/   \_/

      isort your imports, so you don't have to.

                    VERSION 5.13.2
eslint: v8.57.0
htmlhint: 1.1.4
sql-lint: 1.0.0
goreleaser:   ____       ____      _
 / ___| ___ |  _ \ ___| | ___  __ _ ___  ___ _ __
| |  _ / _ \| |_) / _ \ |/ _ \/ _` / __|/ _ \ '__|
| |_| | (_) |  _ <  __/ |  __/ (_| \__ \  __/ |
 \____|\___/|_| \_\___|_|\___|\__,_|___/\___|_|
goreleaser: Deliver Go Binaries as fast and easily as possible
https://goreleaser.com

GitVersion:    1.25.1
GitCommit:     6a7a9ba3995728a4bdf7b5fff770d8caeb3d2cc8
GitTreeState:  false
BuildDate:     2024-04-04T01:51:35Z
BuiltBy:       goreleaser
GoVersion:     go1.22.1
Compiler:      gc
ModuleSum:     h1:a9skjeROotTN5GPPJDHDfhmOK4n13cBgJ34sTdXRDN0=
Platform:      linux/amd64
checkov: 3.2.65
lua: Lua 5.3.5  Copyright (C) 1994-2018 Lua.org, PUC-Rio
standard: 17.1.0
2024-04-24 15:57:26 [INFO]   --------------------------------------------
2024-04-24 15:57:26 [INFO]   Gathering GitHub information...
2024-04-24 15:57:26 [INFO]   RUN_LOCAL has been set to: true. Bypassing GitHub Actions variables...
2024-04-24 15:57:26 [INFO]   Successfully validated GITHUB_WORKSPACE: /tmp/lint
2024-04-24 15:57:26 [DEBUG]   Skip the initalization of GITHUB_SHA because we don't need it
2024-04-24 15:57:26 [DEBUG]   Setting MULTI_STATUS to false because we are not running on GitHub Actions
2024-04-24 15:57:26 [DEBUG]   Successfully detected the default branch for this repository: master
2024-04-24 15:57:26 [DEBUG]   The default branch for this repository was set to master, but it was explicitly overridden using the DEFAULT_BRANCH variable, and set to: main
2024-04-24 15:57:26 [INFO]   The default branch for this repository is set to: main
2024-04-24 15:57:26 [DEBUG]   Skip GITHUB_TOKEN, GITHUB_REPOSITORY, and GITHUB_RUN_ID validation because we don't need these variables for GitHub Actions status reports. MULTI_STATUS: false
2024-04-24 15:57:26 [DEBUG]   Configuring Git safe directories
2024-04-24 15:57:26 [DEBUG]   Set /tmp/lint as a Git safe directory
2024-04-24 15:57:26 [DEBUG]   Set /tmp/lint as a Git safe directory
2024-04-24 15:57:26 [DEBUG]   Set /tmp/lint as a Git safe directory
2024-04-24 15:57:26 [DEBUG]   TYPESCRIPT_STANDARD_TSCONFIG_FILE: /tmp/lint/tsconfig.json
2024-04-24 15:57:26 [DEBUG]   R_RULES_FILE_PATH_IN_ROOT: /tmp/lint/.lintr
2024-04-24 15:57:26 [INFO]   --------------------------------------------
2024-04-24 15:57:26 [INFO]   Validating the configuration
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_ANSIBLE
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_ANSIBLE
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_BASH
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_BASH
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_BASH_EXEC
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_BASH_EXEC
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CHECKOV
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CHECKOV
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLANG_FORMAT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CLANG_FORMAT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLOUDFORMATION
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CLOUDFORMATION
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CLOJURE
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CLOJURE
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_COFFEESCRIPT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_COFFEESCRIPT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CPP
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CPP
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_CSS
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_CSS
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_DART
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_DART
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_DOCKERFILE_HADOLINT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_DOCKERFILE_HADOLINT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_EDITORCONFIG
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_EDITORCONFIG
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GITHUB_ACTIONS
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GITHUB_ACTIONS
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GITLEAKS
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GITLEAKS
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GHERKIN
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GHERKIN
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GO
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GO
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GO_MODULES
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GO_MODULES
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GO_RELEASER
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GO_RELEASER
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GOOGLE_JAVA_FORMAT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GOOGLE_JAVA_FORMAT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_GROOVY
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_GROOVY
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_HTML
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_HTML
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVA
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JAVA
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVASCRIPT_ES
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JAVASCRIPT_ES
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JAVASCRIPT_STANDARD
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JAVASCRIPT_STANDARD
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSCPD
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JSCPD
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSON
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JSON
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSONC
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JSONC
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_JSX
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_JSX
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_KUBERNETES_KUBECONFORM
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_KUBERNETES_KUBECONFORM
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_KOTLIN
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_KOTLIN
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_LATEX
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_LATEX
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_LUA
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_LUA
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_MARKDOWN
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_MARKDOWN
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_NATURAL_LANGUAGE
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_NATURAL_LANGUAGE
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_OPENAPI
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_OPENAPI
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PERL
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PERL
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_BUILTIN
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PHP_BUILTIN
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PHPCS
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PHP_PHPCS
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PHPSTAN
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PHP_PHPSTAN
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PHP_PSALM
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PHP_PSALM
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PROTOBUF
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PROTOBUF
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_BLACK
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PYTHON_BLACK
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_PYLINT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PYTHON_PYLINT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_FLAKE8
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PYTHON_FLAKE8
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_ISORT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PYTHON_ISORT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_MYPY
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PYTHON_MYPY
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_PYTHON_RUFF
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_PYTHON_RUFF
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_R
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_R
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RAKU
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_RAKU
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RENOVATE
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_RENOVATE
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_RUBY
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_RUBY
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SCALAFMT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SCALAFMT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SHELL_SHFMT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SHELL_SHFMT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SNAKEMAKE_LINT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SNAKEMAKE_LINT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SNAKEMAKE_SNAKEFMT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SNAKEMAKE_SNAKEFMT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_STATES
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_STATES
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SQL
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SQL
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_SQLFLUFF
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_SQLFLUFF
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TEKTON
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TEKTON
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_FMT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TERRAFORM_FMT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_TFLINT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TERRAFORM_TFLINT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAFORM_TERRASCAN
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TERRAFORM_TERRASCAN
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TERRAGRUNT
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TERRAGRUNT
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TSX
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TSX
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TYPESCRIPT_ES
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TYPESCRIPT_ES
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_TYPESCRIPT_STANDARD
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_TYPESCRIPT_STANDARD
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_XML
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_XML
2024-04-24 15:57:26 [DEBUG]   Set VALIDATE_LANGUAGE while validating the configuration: VALIDATE_YAML
2024-04-24 15:57:26 [DEBUG]   Configuration didn't provide a custom value for VALIDATE_YAML
2024-04-24 15:57:26 [DEBUG]   - Validating [ANSIBLE] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [BASH] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [BASH_EXEC] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [CHECKOV] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [CLANG_FORMAT] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [CLOUDFORMATION] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [CLOJURE] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [COFFEESCRIPT] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [CPP] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [CSS] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [DART] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [DOCKERFILE_HADOLINT] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [EDITORCONFIG] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [GITHUB_ACTIONS] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [GITLEAKS] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [GHERKIN] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [GO] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [GO_MODULES] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [GO_RELEASER] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [GOOGLE_JAVA_FORMAT] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [GROOVY] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [HTML] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [JAVA] files in code base...
2024-04-24 15:57:26 [DEBUG]   - Validating [JAVASCRIPT_ES] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [JAVASCRIPT_STANDARD] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [JSCPD] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [JSON] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [JSONC] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [JSX] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [KUBERNETES_KUBECONFORM] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [KOTLIN] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [LATEX] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [LUA] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [MARKDOWN] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [NATURAL_LANGUAGE] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [OPENAPI] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PERL] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PHP_BUILTIN] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PHP_PHPCS] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PHP_PHPSTAN] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PHP_PSALM] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PROTOBUF] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PYTHON_BLACK] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PYTHON_PYLINT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PYTHON_FLAKE8] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PYTHON_ISORT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PYTHON_MYPY] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [PYTHON_RUFF] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [R] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [RAKU] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [RENOVATE] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [RUBY] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [SCALAFMT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [SHELL_SHFMT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [SNAKEMAKE_LINT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [SNAKEMAKE_SNAKEFMT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [STATES] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [SQL] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [SQLFLUFF] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [TEKTON] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [TERRAFORM_FMT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [TERRAFORM_TFLINT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [TERRAFORM_TERRASCAN] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [TERRAGRUNT] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [TSX] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [TYPESCRIPT_ES] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [TYPESCRIPT_STANDARD] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [XML] files in code base...
2024-04-24 15:57:27 [DEBUG]   - Validating [YAML] files in code base...
2024-04-24 15:57:27 [DEBUG]   Set ANSIBLE_DIRECTORY to the default: /tmp/lint/ansible
2024-04-24 15:57:27 [DEBUG]   Validate the local Git environment
2024-04-24 15:57:27 [DEBUG]   Check if /tmp/lint is a Git repository
.git
2024-04-24 15:57:27 [DEBUG]   /tmp/lint is a Git repository
2024-04-24 15:57:28 [DEBUG]   Git branches:   accucor_load_refactor
  all_missing_treatments_exception
  autofill_only_mode
  branch_to_test_ghaction_time_django42
  composite_package
  connect_peakgroup_to_sample
  context_curiosity
  cross_db_on_validate
  dataframe_conversion_for_efficiency
  default-admin-interface
  disable_unnecessary_autoupdates_in_tests
  dupe_sample_checks
  faster_tests_via_disabling_maintained_model
  get_or_create_sample_df
  get_set_maintained_field
  infile_error_improvements
  infusates_loader
  infusates_loader_imac_backup
  last_caveat
  load_autoupdates_transactiontestcase
  load_infusates
  load_tracers
  main
* msrun_loader
  msrunsample_null_eq_null
  my_dupe_sample_checks
  my_study_export
  mymain
  no_autoupdates_option_590issues
  null_eq_null_data_migration
  one_pg_rep
  peakdata_format_witherrfix
  protocol_user_validation
  remove_errors
  sample_load_refactor
  schema_design_proposals
  sequence_load_save
  server_pagination_browse
  server_pagination_sort
  settings_env
  speed_debugging
  split_seq_lc
  stats_keys_none_error
  stream_excel_download
  streaming
  streaming_celery
  submission_env_vars
  through_q
  tracers_loader
  tracsers_load
  transfer_allmissing_to_dataframes
  units
  units_reverse_merge
  working_test_app
  remotes/hepcat/3-phosphoglycerate-hmdb-ID
  remotes/hepcat/add-compound-primary-synonyms
  remotes/hepcat/add-github-action-badges
  remotes/hepcat/add_MN_exp027e_KR_infusion_multitracer
  remotes/hepcat/add_lymph_node
  remotes/hepcat/animal-sample-peakdata
  remotes/hepcat/animal_basic_search_fix
  remotes/hepcat/basic_search_study_fix
  remotes/hepcat/branch_to_test_ghaction_time
  remotes/hepcat/branch_to_test_ghaction_time_django42
  remotes/hepcat/bugfix-load-sample-table
  remotes/hepcat/cleanup_yaml
  remotes/hepcat/compound-splitting
  remotes/hepcat/compound-synonyms
  remotes/hepcat/compound_basic_search_fix
  remotes/hepcat/compound_view_refactor_generic
  remotes/hepcat/compound_view_refactor_generic2
  remotes/hepcat/computed-fcirc
  remotes/hepcat/context_curiosity
  remotes/hepcat/default-admin-interface
  remotes/hepcat/derived_data_from_dataframes
  remotes/hepcat/dev_background
  remotes/hepcat/disable_unnecessary_autoupdates_in_tests
  remotes/hepcat/disable_unnecessary_autoupdates_in_tests_merge
  remotes/hepcat/django-cas-ng-trial
  remotes/hepcat/django42_cache_edit
  remotes/hepcat/django42_cache_edit_orig
  remotes/hepcat/dynamic_search_fields
  remotes/hepcat/faster_tests_via_disabling_maintained_model
  remotes/hepcat/fcirc_multi_format
  remotes/hepcat/fcirc_multi_minor
  remotes/hepcat/fcirc_multi_models
  remotes/hepcat/fcirc_multi_pagination
  remotes/hepcat/fcirc_multi_tests
  remotes/hepcat/fcirc_multi_validation
  remotes/hepcat/feature-template-changes
  remotes/hepcat/fix-268-fcirc-download
  remotes/hepcat/fix_animal_age_validation
  remotes/hepcat/fix_copy_link
  remotes/hepcat/fix_fcirc_template
  remotes/hepcat/fix_pyparsing_import
  remotes/hepcat/fix_tracer_compound_id
  remotes/hepcat/fix_zero_abundance
  remotes/hepcat/get_set_maintained_field
  remotes/hepcat/gh-pages
  remotes/hepcat/infusate-parsing-lp
  remotes/hepcat/initial_data_tissues
  remotes/hepcat/issue-530-remove-example-secret-key
  remotes/hepcat/issue-540-help-menu
  remotes/hepcat/issue-544-new-upload-template
  remotes/hepcat/issue-611-enrichment-display-none
  remotes/hepcat/issue-630-update-docs-link
  remotes/hepcat/issue-639-fix-upload-template-link
  remotes/hepcat/issue-680-multiple-file-upload
  remotes/hepcat/issue_267_uncomment_tsv_header_docs
  remotes/hepcat/issue_271_labeled_element_import
  remotes/hepcat/issue_274_misspelled_name
  remotes/hepcat/issue_289_catch_load_compounds_errors
  remotes/hepcat/issue_293_spelling_error
  remotes/hepcat/issue_312_missing_tracer
  remotes/hepcat/js-standard-style
  remotes/hepcat/label_dupe_atom_counts
  remotes/hepcat/lcmethod_search_views_templates
  remotes/hepcat/lcmethod_submission
  remotes/hepcat/leaderboard
  remotes/hepcat/load-synonyms
  remotes/hepcat/load_study
  remotes/hepcat/load_study_set
  remotes/hepcat/load_study_skip_researcher_check
  remotes/hepcat/load_tissues
  remotes/hepcat/main
  remotes/hepcat/match_tracers_with_concentrations
  remotes/hepcat/merge_release_changes
  remotes/hepcat/mm_tracer_elems
  remotes/hepcat/models-package
  remotes/hepcat/models-package-fix-migrations
  remotes/hepcat/models-package-init
  remotes/hepcat/msrun-data-help
  remotes/hepcat/msrunsample_discrete
  remotes/hepcat/msrunsample_discrete_new
  remotes/hepcat/multilabel_multitracer_data
  remotes/hepcat/my_study_export
  remotes/hepcat/mymain
  remotes/hepcat/no_autoupdates_option_590issues
  remotes/hepcat/only-corrected-peakdata
  remotes/hepcat/peak_sample_data_header
  remotes/hepcat/peak_sample_data_header_test
  remotes/hepcat/peakdata_format_witherrfix
  remotes/hepcat/peakgroup_multiple_compounds_fix
  remotes/hepcat/per-animal
  remotes/hepcat/pin_jedi_dependency
  remotes/hepcat/pr-590-fix-migration-conflict
  remotes/hepcat/profile_cached_properties
  remotes/hepcat/protocol_user_validation_edits
  remotes/hepcat/pylint_animal_generated_members
  remotes/hepcat/python_version_spec
  remotes/hepcat/refactor_list_templates_part2
  remotes/hepcat/release_1.0
  remotes/hepcat/release_2.0.x
  remotes/hepcat/release_2.x
  remotes/hepcat/remove-animal-state
  remotes/hepcat/remove-dependency-caps
  remotes/hepcat/remove_hmdb_env_var
  remotes/hepcat/sample_check_error_message
  remotes/hepcat/sample_check_error_message_sort
  remotes/hepcat/sample_list_pagination
  remotes/hepcat/schema_design_proposals
  remotes/hepcat/second_db
  remotes/hepcat/speed_debugging
  remotes/hepcat/stats_keys_none_error
  remotes/hepcat/streaming
  remotes/hepcat/streaming_celery
  remotes/hepcat/study-model
  remotes/hepcat/study_export
  remotes/hepcat/submission_process_update
  remotes/hepcat/superlinter-v5
  remotes/hepcat/synonym-identified-data-loading
  remotes/hepcat/test_cleanup
  remotes/hepcat/test_search_choices
  remotes/hepcat/test_tag_cleanup
  remotes/hepcat/test_tag_cleanup_test
  remotes/hepcat/tests_on_fans_null_fix
  remotes/hepcat/threadsafe_maintained_model
  remotes/hepcat/tracer_group_name_migration
  remotes/hepcat/treatments-loading
  remotes/hepcat/treatments-loading-merge
  remotes/hepcat/turn_off_validation
  remotes/hepcat/uncomment_headers_267
  remotes/hepcat/units
  remotes/hepcat/units_fix_synch
  remotes/hepcat/units_iexact_fix
  remotes/hepcat/update-linters
  remotes/hepcat/utils-package
  remotes/hepcat/v2.0.3
  remotes/hepcat/validate_sideeffects_tests
  remotes/origin/1_ring_2_rule_the_mall
  remotes/origin/1_ring_2_rule_them_all
  remotes/origin/3-phosphoglycerate-hmdb-ID
  remotes/origin/HEAD -> origin/main
  remotes/origin/accucor_load_refactor
  remotes/origin/accucor_load_refactor_conflicts
  remotes/origin/accucor_load_refactor_offslrf
  remotes/origin/add-compound-primary-synonyms
  remotes/origin/add-github-action-badges
  remotes/origin/add_MN_exp027e_KR_infusion_multitracer
  remotes/origin/add_changelog_to_pr_template
  remotes/origin/add_lymph_node
  remotes/origin/add_orderings
  remotes/origin/add_samples_to_exceptions
  remotes/origin/adv_search_download
  remotes/origin/adv_search_download_consolidation
  remotes/origin/adv_srch_consolidate_plus
  remotes/origin/adv_srch_consolidate_plusplus
  remotes/origin/advanced_search
  remotes/origin/advanced_search_filter
  remotes/origin/advsrch_flex
  remotes/origin/advsrch_refactor
  remotes/origin/advsreach_sort_filter
  remotes/origin/all_missing_treatments_exception
  remotes/origin/all_models
  remotes/origin/animal-sample-peakdata
  remotes/origin/animal_basic_search_fix
  remotes/origin/archive-file-str-methods
  remotes/origin/atomic_transactions_added_to_new_loaders
  remotes/origin/auto_pop_lcsm_from_samplesheet
  remotes/origin/autofill_only_mode
  remotes/origin/automatic_lazy_updates
  remotes/origin/basic_search_study_fix
  remotes/origin/better_abstract_class_names
  remotes/origin/black-config
  remotes/origin/brackets2
  remotes/origin/branch_to_test_ghaction_time
  remotes/origin/branch_to_test_ghaction_time_django42
  remotes/origin/bugfix-load-sample-table
  remotes/origin/caching
  remotes/origin/caching_tests
  remotes/origin/clean_up_removed_model_elements
  remotes/origin/cleanup_yaml
  remotes/origin/composite_package
  remotes/origin/compound-splitting
  remotes/origin/compound-synonyms
  remotes/origin/compound_basic_search_fix
  remotes/origin/compound_view_refactor_generic
  remotes/origin/compound_view_refactor_generic2
  remotes/origin/computed-fcirc
  remotes/origin/conc_dl
  remotes/origin/connect_peakgroup_to_sample
  remotes/origin/content_width
  remotes/origin/context_curiosity
  remotes/origin/cross_db_on_validate
  remotes/origin/cross_db_on_validate_test
  remotes/origin/data_submission
  remotes/origin/dataframe_conversion_for_efficiency
  remotes/origin/default-admin-interface
  remotes/origin/dependabot/pip/requirements/black-24.3.0
  remotes/origin/dependabot/pip/requirements/django-3.2.12
  remotes/origin/dependabot/pip/requirements/django-3.2.13
  remotes/origin/dependabot/pip/requirements/django-3.2.14
  remotes/origin/dependabot/pip/requirements/django-3.2.18
  remotes/origin/dependabot/pip/requirements/django-3.2.19
  remotes/origin/dependabot/pip/requirements/django-4.2.10
  remotes/origin/dependabot/pip/requirements/django-4.2.11
  remotes/origin/derived_data_from_dataframes
  remotes/origin/dev_background
  remotes/origin/disable_unnecessary_autoupdates_in_tests
  remotes/origin/disable_unnecessary_autoupdates_in_tests_merge
  remotes/origin/django-cas-ng-trial
  remotes/origin/download_time_collected
  remotes/origin/dropzone_paths
  remotes/origin/dupe_accucor_samples
  remotes/origin/dynamic_search_fields
  remotes/origin/dynamic_search_fields2
  remotes/origin/existing_msruns
  remotes/origin/faster_tests_via_disabling_maintained_model
  remotes/origin/fc_time_collected
  remotes/origin/fcirc_animal_metadata
  remotes/origin/fcirc_initial_showhide
  remotes/origin/fcirc_multi_format
  remotes/origin/fcirc_multi_minor
  remotes/origin/fcirc_multi_models
  remotes/origin/fcirc_multi_pagination
  remotes/origin/fcirc_multi_tests
  remotes/origin/fcirc_multi_validation
  remotes/origin/fcirc_repag_insert_with_depth_control
  remotes/origin/fcirc_search_format_part1
  remotes/origin/fcirc_search_format_part1_before_rebase
  remotes/origin/fcirc_search_format_part2
  remotes/origin/feature-template-changes
  remotes/origin/fix-268-fcirc-download
  remotes/origin/fix_animal_age_validation
  remotes/origin/fix_copy_link
  remotes/origin/fix_fcirc_template
  remotes/origin/fix_pyparsing_import
  remotes/origin/fix_tracer_compound_id
  remotes/origin/fix_zero_abundance
  remotes/origin/fk_queryset_t1
  remotes/origin/fkt1-rob1
  remotes/origin/get_or_create_sample_df
  remotes/origin/get_set_maintained_field
  remotes/origin/gh-pages
  remotes/origin/hide_show_prev_fcirc
  remotes/origin/hier_form_child_controls
  remotes/origin/infile_error_improvements
  remotes/origin/infusate-parsing-lp
  remotes/origin/infusate_related_code_templates_changes
  remotes/origin/infusates_loader
  remotes/origin/initial_data_tissues
  remotes/origin/issue-530-remove-example-secret-key
  remotes/origin/issue-540-help-menu
  remotes/origin/issue-544-new-upload-template
  remotes/origin/issue-611-enrichment-display-none
  remotes/origin/issue-630-update-docs-link
  remotes/origin/issue-639-fix-upload-template-link
  remotes/origin/issue-680-multiple-file-upload
  remotes/origin/issue-694-archive-file-class
  remotes/origin/issue-695-migrate-peakgroupset-to-archivefile
  remotes/origin/issue-697-load-archivefile
  remotes/origin/issue-719-archivefile-docs
  remotes/origin/issue-840-peak-annotation-count
  remotes/origin/issue_267_uncomment_tsv_header_docs
  remotes/origin/issue_271_labeled_element_import
  remotes/origin/issue_274_misspelled_name
  remotes/origin/issue_289_catch_load_compounds_errors
  remotes/origin/issue_293_spelling_error
  remotes/origin/issue_312_missing_tracer
  remotes/origin/js-standard-style
  remotes/origin/label_dupe_atom_counts
  remotes/origin/last_caveat
  remotes/origin/lcmethod-model
  remotes/origin/lcmethod_submission
  remotes/origin/lcmethod_submission_template
  remotes/origin/leaderboard
  remotes/origin/link_peakdata_treatment
  remotes/origin/list_tests
  remotes/origin/load-synonyms
  remotes/origin/load_infusates
  remotes/origin/load_study
  remotes/origin/load_study_multi
  remotes/origin/load_study_set
  remotes/origin/load_study_skip_researcher_check
  remotes/origin/load_tissues
  remotes/origin/load_tracers
  remotes/origin/logo_swap
  remotes/origin/main
  remotes/origin/main_to_sequence_load
  remotes/origin/maintained_tracer_models
  remotes/origin/maintained_tracer_models_recovery
  remotes/origin/match_tracers_with_concentrations
  remotes/origin/max_labeled_atoms
  remotes/origin/merge_release_changes
  remotes/origin/missing_sample_context
  remotes/origin/mitigate_researcher_variants
  remotes/origin/mm_minor_refactor
  remotes/origin/mm_search_terms
  remotes/origin/mm_tracer_elems
  remotes/origin/models-package
  remotes/origin/models-package-fix-migrations
  remotes/origin/models-package-init
  remotes/origin/modify_view_template_for_homepage
  remotes/origin/msr_sample_cascade
  remotes/origin/msrun-data-help
  remotes/origin/msrun_loader
  remotes/origin/msrun_protocol
  remotes/origin/msruns_df
  remotes/origin/msrunsample_null_eq_null
  remotes/origin/multi_test_tags
  remotes/origin/multi_tracer_label_support_for_accucor
  remotes/origin/multilabel_multitracer_data
  remotes/origin/multiple_links
  remotes/origin/mutli_rebase
  remotes/origin/new-release-issue-template
  remotes/origin/new_norm_lab_multi
  remotes/origin/no_autoupdates_option
  remotes/origin/no_autoupdates_option_590issues
  remotes/origin/norm_lab_multi
  remotes/origin/null_eq_null_data_migration
  remotes/origin/one2all_fix
  remotes/origin/only-corrected-peakdata
  remotes/origin/page_names
  remotes/origin/pd_updates
  remotes/origin/peak_sample_data_header_test
  remotes/origin/peakdata_adv_search
  remotes/origin/peakdata_format_witherrfix
  remotes/origin/peakgroup_download_fix
  remotes/origin/peakgroup_format_multi
  remotes/origin/peakgroup_multiple_compounds_fix
  remotes/origin/per-animal
  remotes/origin/pg_updates
  remotes/origin/pin_jedi_dependency
  remotes/origin/pr-590-fix-migration-conflict
  remotes/origin/prcl_tweak
  remotes/origin/profile_cached_properties
  remotes/origin/protocol_user_validation
  remotes/origin/protocol_user_validation_edits
  remotes/origin/protocol_user_validation_test
  remotes/origin/prtemplatetweaks
  remotes/origin/pylint_animal_generated_members
  remotes/origin/pylint_updates
  remotes/origin/python_version_spec
  remotes/origin/quick_download_fix
  remotes/origin/refactor_list_templates_part2
  remotes/origin/release_1.0
  remotes/origin/remember_fld
  remotes/origin/remove-animal-state
  remotes/origin/remove-dependency-caps
  remotes/origin/remove_errors
  remotes/origin/remove_hmdb_env_var
  remotes/origin/remove_msrun
  remotes/origin/sample_check_error_message
  remotes/origin/sample_check_error_message_sort
  remotes/origin/sample_list_pagination
  remotes/origin/sample_load_refactor
  remotes/origin/sample_load_refactor_offmain
  remotes/origin/schema_design_proposals
  remotes/origin/search_form_performance
  remotes/origin/search_stats
  remotes/origin/search_stats_workaround_refilter
  remotes/origin/second_db
  remotes/origin/sequence_load
  remotes/origin/sequence_load_review_items_and_todos
  remotes/origin/server_pagination
  remotes/origin/server_pagination_sort
  remotes/origin/settings_env
  remotes/origin/specify_update_field
  remotes/origin/speed_debugging
  remotes/origin/split_seq_lc
  remotes/origin/stats_keys_none_error
  remotes/origin/stream_excel_download
  remotes/origin/streaming
  remotes/origin/streaming_celery
  remotes/origin/strip_units
  remotes/origin/study-model
  remotes/origin/submission_env_vars
  remotes/origin/submission_process_update
  remotes/origin/superlinter-v5
  remotes/origin/superlinter_black_update
  remotes/origin/superlinter_ignore_xlsx
  remotes/origin/synonym-identified-data-loading
  remotes/origin/table_color
  remotes/origin/template_label_update
  remotes/origin/test_cleanup
  remotes/origin/test_reduction_surgery
  remotes/origin/test_reduction_surgery6
  remotes/origin/test_search_choices
  remotes/origin/test_tag_cleanup
  remotes/origin/test_tag_cleanup_new
  remotes/origin/test_tag_cleanup_test
  remotes/origin/tests_on_fans_null_fix
  remotes/origin/tissue_load_consistency
  remotes/origin/tracer_group_name_migration
  remotes/origin/tracers_loader
  remotes/origin/tracsers_load
  remotes/origin/transfer_allmissing_to_dataframes
  remotes/origin/treatments-loading
  remotes/origin/treatments-loading-merge
  remotes/origin/turn_off_validation
  remotes/origin/uncomment_headers_267
  remotes/origin/unhidden_hiddens
  remotes/origin/unique_accucor_compounds
  remotes/origin/unique_pdl_elem
  remotes/origin/unique_pdl_elem_fixtest
  remotes/origin/units
  remotes/origin/units_addition
  remotes/origin/units_fix_synch
  remotes/origin/units_iexact_fix
  remotes/origin/units_merge
  remotes/origin/units_merge_synch_fix
  remotes/origin/update-contributing-loading
  remotes/origin/update-linters
  remotes/origin/update_stream_excel_download
  remotes/origin/utils-package
  remotes/origin/v2.0.3
  remotes/origin/validate_sideeffects_tests
  remotes/origin/validation_headers
  remotes/origin/validation_on_default_db
  remotes/origin/validation_refinements
  remotes/origin/validation_refinements2
  remotes/origin/vdbenv
/action/lib/functions/validation.sh: line 202: GITHUB_SHA: unbound variable
2024-04-24 15:57:28 [DEBUG]   Git HEAD: commit d41d1add83b941d6cad57bba79d4df0707c87134
Author: hepcat72 <hepcat72@gmail.com>
Date:   Wed Apr 24 09:53:21 2024 -0400

    Nearing the end of the first draft of the MSRunsLoader.
    
    Checking in without details just to transfer work to another computer.
    
    Files checked in: DataRepo/loaders/accucor_data_loader.py DataRepo/loaders/compounds_loader.py DataRepo/loaders/lcprotocols_loader.py DataRepo/loaders/msrun_loader.py DataRepo/loaders/protocols_loader.py DataRepo/loaders/sequences_loader.py DataRepo/loaders/study_table_loader.py DataRepo/loaders/table_loader.py DataRepo/loaders/tissues_loader.py DataRepo/management/commands/load_table.py DataRepo/models/archive_file.py DataRepo/models/msrun_sample.py DataRepo/utils/exceptions.py DataRepo/views/upload/validation.py DataRepo/loaders/msruns_loader.py DataRepo/management/commands/load_msruns.py
    [skip ci]

 DataRepo/loaders/accucor_data_loader.py     |    2 +
 DataRepo/loaders/compounds_loader.py        |   13 +-
 DataRepo/loaders/lcprotocols_loader.py      |    2 +-
 DataRepo/loaders/msrun_loader.py            |  303 --------
 DataRepo/loaders/msruns_loader.py           | 1088 +++++++++++++++++++++++++++
 DataRepo/loaders/protocols_loader.py        |    2 +-
 DataRepo/loaders/sequences_loader.py        |    2 +-
 DataRepo/loaders/study_table_loader.py      |    2 +-
 DataRepo/loaders/table_loader.py            |   26 +-
 DataRepo/loaders/tissues_loader.py          |    2 +-
 DataRepo/management/commands/load_msruns.py |   49 ++
 DataRepo/management/commands/load_table.py  |   13 +-
 DataRepo/models/archive_file.py             |  146 +++-
 DataRepo/models/msrun_sample.py             |   57 ++
 DataRepo/utils/exceptions.py                |   15 +-
 DataRepo/views/upload/validation.py         |   54 +-
 16 files changed, 1402 insertions(+), 374 deletions(-)
2024-04-24 15:57:28 [DEBUG]   Captured exit code: 1
2024-04-24 15:57:28 [DEBUG]   Removing temporary files and directories
2024-04-24 15:57:28 [DEBUG]   LOG_FILE_PATH: /tmp/lint/super-linter.log
2024-04-24 15:57:28 [DEBUG]   Skipping the moving of the log file from /tmp/tmp.lqqtixMFkp to /tmp/lint/super-linter.log

@hepcat72
Copy link

@ferrarimarco, is this sufficient? It would be nice to be able to use the find algorithm again. It wasn't long after I started using it before we updated from superlinter 4.x, and then I couldn't lint with the find algorithm anymore...

@ferrarimarco
Copy link
Collaborator

Ah! I get what's happening.

You set USE_FIND_ALGORITHM=true but you also set IGNORE_GITIGNORED_FILES=true, so the check is working as expected:

super-linter/lib/linter.sh

Lines 742 to 749 in 770c355

if [[ "${USE_FIND_ALGORITHM}" == "false" ]] || [[ "${IGNORE_GITIGNORED_FILES}" == "true" ]]; then
debug "Validate the local Git environment"
ValidateLocalGitRepository
ValidateGitShaReference
ValidateDefaultGitBranch
else
debug "Skipped the validation of the local Git environment because we don't depend on it."
fi

Both reports show the same behavior, so I believe this is what we're experiencing here.

We need to check if the workspace is a Git directory because we invoke git to check if a file is ignored or not:

if [ "${IGNORE_GITIGNORED_FILES}" == "true" ] && git -C "${GITHUB_WORKSPACE}" check-ignore "$FILE"; then
debug "${FILE} is ignored by Git. Skipping ${FILE}"
continue
fi

One could argue that we don't necessarily need to validate the entire Git environment for this check, but at least we need to check if we are in a Git repository or not. At minimum, we should have a clearer error message.

The workaround is to avoid setting USE_FIND_ALGORITHM=true or IGNORE_GITIGNORED_FILES=true.

Let me reopen this while we think about a solution.

Also, given this is working as expected, this is likely an enhancement request rather than a bug.

@ferrarimarco ferrarimarco reopened this Apr 26, 2024
@ferrarimarco ferrarimarco added enhancement New feature or request O: backlog 🤖 Backlog, stale ignores this label and removed bug Something isn't working labels Apr 26, 2024
@ferrarimarco ferrarimarco changed the title Upgrading to v6 results in GITHUB_SHA: unbound variable error Don't require full Git environment validation when users enable IGNORE_GITIGNORED_FILES Apr 26, 2024
@hepcat72
Copy link

I'm glad you worked out what's happening. If it's working as designed, then I would say you could consider the not catching the specific error case a bug, that is, if interpretable/understandable errors is a requirement. I don't think users would necessarily intuit that changing the way the tool finds files would have the side effect of changing whether superlinter changes its overall behavior as to whether it's dealing with a GitHub repo.

Consider my use case: I simply want to lint new files before staging or commit. I.e. I don't want to check in files that have listing issues. I don't honestly know if staging would solve that concern, but I would point out that sometimes, a file name has to be changed as a part of the debugging process, e.g. case insensitive file systems and bugs related to substrings, and I often lint before I debug. Overall, it's just less overhead to be able to lint before git add, though I admit that's debatable.

@ferrarimarco
Copy link
Collaborator

Yeah, there's room for improvement here.

Thanks for sharing the details about your use case.

@ferrarimarco ferrarimarco reopened this Apr 30, 2024
ferrarimarco added a commit that referenced this issue Apr 30, 2024
- Don't require Git SHA and branch validation when
  IGNORE_GITIGNORED_FILES=true because we only need to validate that the
  workspace is a Git repository in this case.

Fix #5383
@ferrarimarco
Copy link
Collaborator

#5599 should take care of this.

ferrarimarco added a commit that referenced this issue Apr 30, 2024
- Don't require Git SHA and branch validation when
  IGNORE_GITIGNORED_FILES=true because we only need to validate that the
  workspace is a Git repository in this case.

Fix #5383
ferrarimarco added a commit that referenced this issue Apr 30, 2024
- Don't require Git SHA and branch validation when
  IGNORE_GITIGNORED_FILES=true because we only need to validate that the
  workspace is a Git repository in this case.

Fix #5383
ferrarimarco added a commit that referenced this issue Apr 30, 2024
- Don't require Git SHA and branch validation when
  IGNORE_GITIGNORED_FILES=true because we only need to validate that the
  workspace is a Git repository in this case.

Fix #5383
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request O: backlog 🤖 Backlog, stale ignores this label
Projects
None yet
5 participants