From 4c6d78f36543cfb6e08becdcfb90d3a3fd3c4919 Mon Sep 17 00:00:00 2001 From: Bert Roos Date: Wed, 19 Apr 2023 07:11:17 +0200 Subject: [PATCH] Check out full-depth Full git history is needed to get a proper list of changed files within `super-linter` --- .github/workflows/pull_request.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 8d518d63..b519e1de 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -15,6 +15,10 @@ jobs: steps: - name: Checkout src repo uses: actions/checkout@v3 + with: + # Full git history is needed to get a proper list of changed files within `super-linter` + fetch-depth: 0 + - name: Lint code base uses: github/super-linter@v4 env: