From 41a23a662aef84c551864c7530b37cf55e6a8c88 Mon Sep 17 00:00:00 2001 From: Sourabh Mehta <73165318+soumeh01@users.noreply.github.com> Date: Wed, 5 Feb 2025 09:13:46 +0100 Subject: [PATCH] Update markdown.yml --- .github/workflows/markdown.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/markdown.yml b/.github/workflows/markdown.yml index 27e5a8ce..c2b186c5 100644 --- a/.github/workflows/markdown.yml +++ b/.github/workflows/markdown.yml @@ -11,7 +11,7 @@ on: permissions: read-all jobs: - markdown-lint: + linter: name: Lint markdown files runs-on: ubuntu-22.04 steps: @@ -39,11 +39,19 @@ jobs: run: | echo "::remove-matcher owner=markdownlint::" - - uses: gaurav-nelson/github-action-markdown-link-check@1b916f2cf6c36510a6059943104e3c42ce6c16bc # master - if: always() + check-links: + name: Check markdown links + runs-on: ubuntu-latest + steps: + - name: Checkout devtools + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Check links + uses: gaurav-nelson/github-action-markdown-link-check@1b916f2cf6c36510a6059943104e3c42ce6c16bc # master + # Checks all Markdown files, including those in subfolders, + # as the PR may involve removing referenced Markdown files. with: use-quiet-mode: 'yes' use-verbose-mode: 'yes' - check-modified-files-only: 'yes' base-branch: ${{ github.base_ref }} - config-file: '.github/markdown-link-check.jsonc' \ No newline at end of file + config-file: '.github/markdown-link-check.jsonc'