0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-12-22 21:03:53 +01:00

Add example of continue-on-error to the README (fixes #3).

This commit is contained in:
David Anson 2021-12-12 18:24:10 -08:00 committed by GitHub
parent 57ca163021
commit fa80dbfb52
Failed to generate hash of commit

View file

@ -46,6 +46,13 @@ To lint specific Markdown files in a project:
docs/*.md
```
To prevent linting issues from failing the workflow run:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4
continue-on-error: true
```
See [`example.yml`][example-yml] for a simple GitHub workflow that uses
`markdownlint-cli2-action`.