From ef1adc939cd0d54f927af8b413adc911e284d7d6 Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 8 Oct 2023 14:09:04 +0100 Subject: [PATCH] feat: Use Full Mega-Linter Flavor (#152) --- .github/workflows/mega-linter.yml | 2 +- .mega-linter.yml | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index dac28eaa..b1cb5ae4 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -40,7 +40,7 @@ jobs: id: ml # To improve performance, you have the option to change the MegaLinter flavor that is being used. # Complete details on available flavors can be found at https://megalinter.io/flavors/. - uses: oxsecurity/megalinter/flavors/documentation@a87b2872713c6bdde46d2473c5d7ed23e5752dc2 # v7.4.0 + uses: oxsecurity/megalinter@a87b2872713c6bdde46d2473c5d7ed23e5752dc2 # v7.4.0 env: # All available variables are described in documentation # https://megalinter.io/configuration/ diff --git a/.mega-linter.yml b/.mega-linter.yml index 1fc50564..4f2ed474 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -5,11 +5,15 @@ DISABLE: - COPYPASTE - SPELL -SHOW_ELAPSED_TIME: true -IGNORE_GENERATED_FILES: true -PRINT_ALL_FILES: false -FORMATTERS_DISABLE_ERRORS: false +DISABLE_LINTERS: + - REPOSITORY_DEVSKIM # Disabled as currently not working + - REPOSITORY_KICS # TODO: Fix KICS linter issues and re-enable + +DOCKERFILE_HADOLINT_CONFIG_FILE: .hadolint.yml ERROR_ON_MISSING_EXEC_BIT: true +FORMATTERS_DISABLE_ERRORS: false +IGNORE_GENERATED_FILES: true MARKDOWN_MARKDOWNLINT_DISABLE_ERRORS: false +PRINT_ALL_FILES: false REPOSITORY_TRUFFLEHOG_ARGUMENTS: --exclude-paths=.trufflehogignore.txt -DOCKERFILE_HADOLINT_CONFIG_FILE: .hadolint.yml +SHOW_ELAPSED_TIME: true