Skip to content

Commit

Permalink
Pin markdownlint-cli version in GitHub Actions
Browse files Browse the repository at this point in the history
The latest release introduced two new lints that appear to be broken.
Ignore these lints and pin the CLI to the current version to prevent CI
bugs from creeping in for the future.

Signed-off-by: Tom Wieczorek <[email protected]>
(cherry picked from commit 5548f4b)
(cherry picked from commit 48180d1)
  • Loading branch information
twz123 authored and github-actions[bot] committed Feb 2, 2024
1 parent 710040e commit f0a955d
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@v3
- 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 f0a955d

Please sign in to comment.