From 56ef8481a3717c51bc9a555ea7074ec80c48378f Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Fri, 7 Jul 2023 13:30:40 -0700 Subject: [PATCH] Checkout history for markdown lint check (#19908) --- .github/workflows/markdownLink.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/markdownLink.yml b/.github/workflows/markdownLink.yml index 7fe0e95550..ac1be6eba8 100644 --- a/.github/workflows/markdownLink.yml +++ b/.github/workflows/markdownLink.yml @@ -27,6 +27,10 @@ jobs: runs-on: ubuntu-latest steps: - 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 Markdown uses: super-linter/super-linter@v5 env: