Markdown linting is not working
Closed this issue · 4 comments
marcoieni commented
Bug description
If you take a look at actions, for example here you can see that markdown lint doesn't work, since the usage page is showed.
Screenshots
Additional context
The args field is not parsed correctly.
I will try to work on a fix.
stevenguh commented
Have you tried the ignore parameter like the following?
name: Continuous Integration
on:
push:
branches: [master, vspacecode-next, which-key-next]
pull_request:
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint all files recursively
uses: avto-dev/markdown-lint@v1
with:
config: '.markdownlint.yaml'
ignore: 'node_modules docs/default-keybindings.md'
args: '**/*.md'
I quickly looked up that gh action repo, it seems like the parameter ignore is just appending --ignore with string to markdown-cli in a docker.
marcoieni commented
yes, it should be like you are saying, but there is a bug, because you have to repeat the --ignore flag for each file.
This is addressed in avto-dev/markdown-lint#12 so let's wait that they merge it.
stevenguh commented
That's awesome!
