Bump gaurav-nelson/github-action-markdown-link-check from 7d83e59a57f3c201c76eed3d33dff64ec4452d27 to 1b916f2cf6c36510a6059943104e3c42ce6c16bc #182
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: markdown | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/markdown.yml' | |
- '.github/markdownlint.json' | |
- '.github/markdownlint.jsonc' | |
- '**/*.md' | |
jobs: | |
markdown-lint: | |
name: Lint markdown files | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Harden Runner | |
if: ${{ !github.event.repository.private }} | |
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3 | |
with: | |
egress-policy: audit | |
- name: Checkout devtools | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Register markdownlint warning matcher | |
run: | | |
echo "::add-matcher::.github/markdownlint.json" | |
- name: Lint markdown files | |
uses: avto-dev/markdown-lint@04d43ee9191307b50935a753da3b775ab695eceb # v1.5.0 | |
with: | |
args: '**/*.md' | |
ignore: '**/testinput/**' | |
config: '.github/markdownlint.jsonc' | |
- name: Remove markdownlint warning matcher | |
if: always() | |
run: | | |
echo "::remove-matcher owner=markdownlint::" | |
- uses: gaurav-nelson/github-action-markdown-link-check@1b916f2cf6c36510a6059943104e3c42ce6c16bc # master | |
if: always() | |
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' |