Skip to content

Commit 37e126a

Browse files
committed
Add markdown lint action
1 parent 66e3483 commit 37e126a

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,20 +97,16 @@ jobs:
9797
./actionlint
9898
./actionlint example_workflows/*.yaml
9999
100-
- name: Lint READMEs
101-
uses: DavidAnson/markdownlint-cli2-action@v19
102-
with:
103-
config: '.config/.markdownlint.jsonc'
104-
globs: '**/README.md'
105-
106100
- name: Lint CHANGELOG
107101
uses: DavidAnson/markdownlint-cli2-action@v19
108102
with:
109-
config: '.config/.markdownlint.jsonc'
103+
config: '.config/.markdownlint.yaml'
110104
globs: 'CHANGELOG.md'
111105

112106
- name: Lint Other Markdown
113107
uses: DavidAnson/markdownlint-cli2-action@v19
114108
with:
115-
config: '.config/.markdownlint.jsonc'
116-
globs: 'docs/*.md'
109+
config: '.config/.markdownlint.yaml'
110+
globs: |
111+
docs/*.md
112+
**/README.md

0 commit comments

Comments
 (0)