Skip to content

Commit

Permalink
Merge pull request #3991 from twz123/pin-markdownlint
Browse files Browse the repository at this point in the history
Pin markdownlint-cli version in GitHub Actions
  • Loading branch information
twz123 authored Feb 1, 2024
2 parents 0a53dc2 + 5548f4b commit a7380ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ on:
- release-*
paths:
- '**.md'
- .github/workflows/docs.yml
- .github/workflows/markdownlint-config.jsonc
pull_request:
branches:
- main
- release-*
paths:
- '**.md'
- .github/workflows/docs.yml
- .github/workflows/markdownlint-config.jsonc
jobs:
lint:
name: Lint markdown
Expand All @@ -21,5 +25,6 @@ jobs:
- uses: actions/checkout@v4
- uses: articulate/actions-markdownlint@v1
with:
config: .github/workflows/markdownlint-config.json
config: .github/workflows/markdownlint-config.jsonc
ignore: autopilot
version: 0.39.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"no-bare-urls": false,
"first-line-h1": false,
"single-trailing-newline": false,
"ol-prefix": "one_or_ordered"
"ol-prefix": "one_or_ordered",
"MD055": false, // broken
"MD056": false // broken
}

0 comments on commit a7380ac

Please sign in to comment.