From a2c55046264c9aea2ae0149eddcd1a44b46a4e64 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 20 Feb 2024 09:52:38 +0100 Subject: [PATCH] ci: disbled unused checks from super-linter checkov is a linter for infrastructire as code, which we do not use in this repository. It detects an error under the `vendor/` directory, which should be skipped either way (filtering not working for this checker?). There is no need to run the checked for Go modules. We have other CI jobs that validate the Go modules already. Because parts of Kubernetes are vendored (which is large), the Go module checker times out. Signed-off-by: Niels de Vos --- .github/workflows/lint-extras.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint-extras.yaml b/.github/workflows/lint-extras.yaml index c7cc5dd30..100a7b6b0 100644 --- a/.github/workflows/lint-extras.yaml +++ b/.github/workflows/lint-extras.yaml @@ -27,7 +27,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} FILTER_REGEX_EXCLUDE: > (.*vendor/.*)|(.*tools/vendor/.*) + VALIDATE_CHECKOV: false VALIDATE_GO: false + VALIDATE_GO_MODULES: false VALIDATE_JSCPD: false VALIDATE_KUBERNETES_KUBECONFORM: false VALIDATE_PROTOBUF: false