From 56b32c370484adcb563a31d453a17db903efed5e Mon Sep 17 00:00:00 2001 From: Andrei Artemov Date: Fri, 9 Oct 2020 14:17:56 +0300 Subject: [PATCH] Fetch full git history to get a proper list of changed files within super-linter --- .github/workflows/stack-linter.yml | 3 +++ README.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/stack-linter.yml b/.github/workflows/stack-linter.yml index dc08e630..ae41b6ab 100644 --- a/.github/workflows/stack-linter.yml +++ b/.github/workflows/stack-linter.yml @@ -37,6 +37,9 @@ jobs: ########################## - name: Checkout Code uses: actions/checkout@v2.3.3 + with: + # Full git history is needed to get a proper list of changed files within `super-linter` + fetch-depth: 0 ################################ # Run Linter against code base # diff --git a/README.md b/README.md index 566c547b..51fbd3c8 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,9 @@ jobs: ########################## - name: Checkout Code uses: actions/checkout@v2 + with: + # Full git history is needed to get a proper list of changed files within `super-linter` + fetch-depth: 0 ################################ # Run Linter against code base #