diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 16b8a660..d76161fe 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -4,20 +4,36 @@ on: pull_request: push: +permissions: { } + jobs: build: name: Lint Code Base runs-on: ubuntu-latest + + permissions: + contents: read + packages: read + statuses: write + steps: - - uses: actions/checkout@v2 - - name: Lint Code Base - uses: github/super-linter@v3 + - name: Checkout code + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Super-Linter + uses: super-linter/super-linter@v6.6.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VALIDATE_BASH: true - VALIDATE_DOCKERFILE: true VALIDATE_DOCKERFILE_HADOLINT: true VALIDATE_ENV: true + VALIDATE_GITHUB_ACTIONS: true + VALIDATE_MARKDOWN: true VALIDATE_PHP_BUILTIN: true + VALIDATE_PHP_PHPCS: true + VALIDATE_PHP_PHPSTAN: true + VALIDATE_PHP_PSALM: true VALIDATE_YAML: true