diff --git a/.github/workflows/linter-weekly.yml b/.github/workflows/linter-weekly.yml index d62830e42..33335dd46 100644 --- a/.github/workflows/linter-weekly.yml +++ b/.github/workflows/linter-weekly.yml @@ -15,6 +15,18 @@ jobs: run-lint: runs-on: ubuntu-latest steps: + ########################## + # Checkout the code base # + ########################## + - name: Checkout the code base + 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 Super Linter # + #################### - name: Lint Code Base uses: docker://github/super-linter:slim-v4 env: @@ -30,7 +42,7 @@ jobs: steps: - name: Checkout repository contents - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Use action to check for CRLF endings uses: erclu/check-crlf@v1.2.0