From 67f4b7749e8edc65afdcad4cb5bba347e563999b Mon Sep 17 00:00:00 2001 From: Sneha Kripanandan <110618720+sneha-krip@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:51:33 -0400 Subject: [PATCH] Set fetch-depth for checkout when using super-linter --- .github/workflows/linter.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 524c562..6e6f50c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -22,6 +22,9 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 + # this is necessary based on https://github.com/super-linter/super-linter?tab=readme-ov-file#get-started + with: + fetch-depth: 0 - name: Setup Node.js id: setup-node