From efb77c2dceecdf2ad24ba5389b46e993be38b1d3 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Tue, 20 Feb 2024 21:19:07 +0100 Subject: [PATCH] Fix super-linter --- .github/workflows/php.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 473277a..bc6c635 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -20,13 +20,17 @@ 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: github/super-linter/slim@v5 env: - VALIDATE_ALL_CODEBASE: true + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LINTER_RULES_PATH: 'tools/linters' + VALIDATE_ALL_CODEBASE: true VALIDATE_JSON: true VALIDATE_PHP_BUILTIN: true VALIDATE_YAML: true