Skip to content

Commit

Permalink
Update markdown.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 committed Feb 5, 2025
1 parent 5bfff5c commit 6dd691d
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:
permissions: read-all

jobs:
markdown-lint:
lint:
name: Lint markdown files
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
Expand All @@ -39,11 +39,20 @@ 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'

0 comments on commit 6dd691d

Please sign in to comment.