Skip to content

Commit 5780021

Browse files
committed
Update markdown.yml
1 parent bcfbbcb commit 5780021

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/markdown.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
permissions: read-all
1212

1313
jobs:
14-
markdown-lint:
14+
linter:
1515
name: Lint markdown files
1616
runs-on: ubuntu-22.04
1717
steps:
@@ -39,11 +39,19 @@ jobs:
3939
run: |
4040
echo "::remove-matcher owner=markdownlint::"
4141
42-
- uses: gaurav-nelson/github-action-markdown-link-check@1b916f2cf6c36510a6059943104e3c42ce6c16bc # master
43-
if: always()
42+
check-links:
43+
name: Check markdown links
44+
runs-on: ubuntu-latest
45+
steps:
46+
- name: Checkout devtools
47+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
48+
49+
- name: Check links
50+
uses: gaurav-nelson/github-action-markdown-link-check@1b916f2cf6c36510a6059943104e3c42ce6c16bc # master
51+
# Checks all Markdown files, including those in subfolders,
52+
# as the PR may involve removing referenced Markdown files.
4453
with:
4554
use-quiet-mode: 'yes'
4655
use-verbose-mode: 'yes'
47-
check-modified-files-only: 'yes'
4856
base-branch: ${{ github.base_ref }}
49-
config-file: '.github/markdown-link-check.jsonc'
57+
config-file: '.github/markdown-link-check.jsonc'

0 commit comments

Comments
 (0)