diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 7b6c246..65888f3 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -21,14 +21,18 @@ 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 + uses: super-linter/super-linter/slim@v6 env: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + LINTER_RULES_PATH: 'tools/linters' LOG_LEVEL: NOTICE VALIDATE_ALL_CODEBASE: true - LINTER_RULES_PATH: 'tools/linters' VALIDATE_JSON: true VALIDATE_PHP_BUILTIN: true VALIDATE_YAML: true