Skip to content

Commit 6dd691d

Browse files
committed
Update markdown.yml
1 parent 5bfff5c commit 6dd691d

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/markdown.yml

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

1313
jobs:
14-
markdown-lint:
14+
lint:
1515
name: Lint markdown files
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-latest
1717
steps:
1818
- name: Harden Runner
1919
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
@@ -39,11 +39,20 @@ 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 }}
4957
config-file: '.github/markdown-link-check.jsonc'
58+

0 commit comments

Comments
 (0)