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
+7
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`.