From 77f28d159599eb53c2094a8785d9d7eaf1adc0f0 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 4 Dec 2025 18:30:49 +0100 Subject: [PATCH] ci: add fetch-depth: 0 for super-linter v7 compatibility Super-linter v7 requires full git history to find the default branch for comparison. Without fetch-depth: 0, it fails with 'master branch doesn't exist' error. --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4120775..ef6e5b1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,6 +8,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Lint Code Base uses: super-linter/super-linter@v7 env: