From 3ebbf83253465d0042065d32fe5397adb470c9f9 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Tue, 20 Feb 2024 21:20:46 +0100 Subject: [PATCH] Fix super-linter --- .github/workflows/php.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f0bfe55..9c67e3a 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -21,15 +21,19 @@ jobs: steps: - uses: actions/checkout@v4 with: + # super-linter needs the full git history to get the + # list of files that changed across commits fetch-depth: 0 - name: Lint Code Base uses: super-linter/super-linter/slim@v6 env: - LOG_LEVEL: NOTICE - VALIDATE_ALL_CODEBASE: true + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} FILTER_REGEX_EXCLUDE: .*/resources/xml/domdocument_(invalid_xml|empty).xml LINTER_RULES_PATH: 'tools/linters' + LOG_LEVEL: NOTICE + VALIDATE_ALL_CODEBASE: true VALIDATE_GITHUB_ACTIONS: true VALIDATE_JSON: true VALIDATE_PHP_BUILTIN: true