From 9397a595a68689b3038de7a5c3bf5fa4e2e93279 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Tue, 7 Feb 2023 14:27:54 -0300 Subject: [PATCH] chore: Add option `validate_all_codebase` to Super-Linter --- .github/workflows/super-linter.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/super-linter.yaml b/.github/workflows/super-linter.yaml index 05a2751..a15efe2 100644 --- a/.github/workflows/super-linter.yaml +++ b/.github/workflows/super-linter.yaml @@ -15,6 +15,11 @@ on: type: string required: true description: Default Branch of Git Repository + validate_all_codebase: + type: boolean + required: false + default: true + description: When `true`, validate all files; when `false`, only new or edited files. validate_editorconfig: type: boolean @@ -124,5 +129,5 @@ jobs: env: DEFAULT_BRANCH: ${{ inputs.default_git_branch }} LINTER_RULES_PATH: / - VALIDATE_ALL_CODEBASE: true + VALIDATE_ALL_CODEBASE: ${{ inputs.validate_all_codebase }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}