diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 520c965..061ed81 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -19,6 +19,9 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 + with: + # super-linter v6 needs full history + fetch-depth: "0" - name: Setup Node.js id: setup-node @@ -33,10 +36,11 @@ jobs: - name: Lint Code Base id: super-linter - uses: super-linter/super-linter/slim@v5 + uses: super-linter/super-linter/slim@v6 env: DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TYPESCRIPT_DEFAULT_STYLE: prettier + VALIDATE_CHECKOV: false VALIDATE_JSCPD: false FILTER_REGEX_EXCLUDE: '(dist/licenses\.txt|PULL_REQUEST_TEMPLATE.md)'