From 243a6d043fec610e86e7f2bf2152d544ab5fffcf Mon Sep 17 00:00:00 2001 From: Jiri Konecny Date: Wed, 30 Aug 2023 15:07:57 +0200 Subject: [PATCH] infra: Don't check j2 files with ShellCheck The j2 files are our templating and these are not usual shell scripts. --- .github/workflows/differential-shellcheck.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/differential-shellcheck.yml b/.github/workflows/differential-shellcheck.yml index 7a9bebb6ec62..4c49a5d57e41 100644 --- a/.github/workflows/differential-shellcheck.yml +++ b/.github/workflows/differential-shellcheck.yml @@ -29,6 +29,9 @@ jobs: with: severity: warning token: ${{ secrets.GITHUB_TOKEN }} + exclude-path: + - '*.j2' + - '**/*.j2' - if: ${{ always() }} name: Upload artifact with ShellCheck defects in SARIF format