mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-11-21 22:01:30 +01:00
Update documentation and example to reference @v5.
This commit is contained in:
parent
014c740f99
commit
607aa65024
2 changed files with 5 additions and 5 deletions
2
.github/workflows/example.yml
vendored
2
.github/workflows/example.yml
vendored
|
@ -5,7 +5,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v5
|
||||
with:
|
||||
globs: |
|
||||
*.md
|
||||
|
|
|
@ -31,13 +31,13 @@ For more detail, read about [glob syntax in `markdownlint-cli2`][glob-syntax].
|
|||
To lint Markdown files in the base directory of a project:
|
||||
|
||||
```yaml
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v5
|
||||
```
|
||||
|
||||
To lint all Markdown files in a project:
|
||||
|
||||
```yaml
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v5
|
||||
with:
|
||||
globs: "**/*.md"
|
||||
```
|
||||
|
@ -45,7 +45,7 @@ To lint all Markdown files in a project:
|
|||
To lint specific Markdown files in a project:
|
||||
|
||||
```yaml
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v5
|
||||
with:
|
||||
globs: |
|
||||
README.md
|
||||
|
@ -56,7 +56,7 @@ To lint specific Markdown files in a project:
|
|||
To prevent linting issues from failing the workflow run:
|
||||
|
||||
```yaml
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v5
|
||||
continue-on-error: true
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue