Fetch full git history to get a proper list of changed files within super-linter

This commit is contained in:
Andrei Artemov 2020-10-09 14:17:56 +03:00
parent 2e126e59e2
commit 56b32c3704
2 changed files with 6 additions and 0 deletions

View file

@ -37,6 +37,9 @@ jobs:
########################## ##########################
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v2.3.3 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 # # Run Linter against code base #

View file

@ -151,6 +151,9 @@ jobs:
########################## ##########################
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v2 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 # # Run Linter against code base #