From f248d0ff5b535301e877e29dc9c594dd6bea1ac6 Mon Sep 17 00:00:00 2001 From: Damian Senn Date: Thu, 21 Nov 2024 15:50:19 +0100 Subject: [PATCH] chore: super linter needs full checkout --- .github/workflows/linter.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 1a2732a..710a8bd 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -14,9 +14,13 @@ jobs: steps: - name: Checkout Code 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@v7 + uses: github/super-linter@v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LINTER_RULES_PATH: /