diff --git a/.github/workflows/superlinter.yml b/.github/workflows/superlinter.yml index 8eefa820..1db86904 100644 --- a/.github/workflows/superlinter.yml +++ b/.github/workflows/superlinter.yml @@ -16,13 +16,16 @@ jobs: # Checks out a copy of your repository on the ubuntu-latest machine - name: Checkout code uses: actions/checkout@v4.1.7 - + with: + # super-linter needs the full git history to get the + # list of files that changed across commits + fetch-depth: 0 + # Runs the Super-Linter action - name: Run Super-Linter - uses: github/super-linter@v7 + uses: super-linter/super-linter@v7 env: VALIDATE_XML: false VALIDATE_JSCPD: false VALIDATE_GITLEAKS: false - DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}