Skip to content

Commit b02c69b

Browse files
committed
update flow
1 parent aa9ff34 commit b02c69b

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/lint.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,13 @@ jobs:
2323
with:
2424
files: "**/*.md"
2525
separator: ","
26-
- uses: DavidAnson/markdownlint-cli2-action@v9
26+
- uses: DavidAnson/markdownlint-cli2-action@v19
2727
if: steps.changed-files.outputs.any_changed == 'true'
2828
with:
29-
globs: ${{ steps.changed-files.outputs.all_changed_files }}
29+
config: .markdownlint.json
30+
globs: |
31+
${{ steps.changed-files.outputs.all_changed_files }}
3032
separator: ","
31-
config: |
32-
{
33-
"default": true,
34-
"MD001": false,
35-
"MD013": false,
36-
"MD024": { "siblings_only": true },
37-
"MD025": false,
38-
"MD033": false,
39-
"MD034": false,
40-
"MD046": false,
41-
"whitespace": false,
42-
}
4333

4434
markdown-link-check:
4535
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)