Skip to content

Commit

Permalink
Update documentation and example to reference @v6.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Jul 23, 2022
1 parent 70a2f84 commit d199b6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DavidAnson/markdownlint-cli2-action@v5
- uses: DavidAnson/markdownlint-cli2-action@v6
with:
globs: |
*.md
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ For more detail: [glob syntax in `markdownlint-cli2`][glob-syntax].
To lint Markdown files in the base directory of a project:

```yaml
- uses: DavidAnson/markdownlint-cli2-action@v5
- uses: DavidAnson/markdownlint-cli2-action@v6
```
To lint all Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v5
- uses: DavidAnson/markdownlint-cli2-action@v6
with:
globs: '**/*.md'
```
To lint specific Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v5
- uses: DavidAnson/markdownlint-cli2-action@v6
with:
globs: |
README.md
Expand All @@ -70,7 +70,7 @@ To lint specific Markdown files in a project:
To fix supported issues when linting:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v5
- uses: DavidAnson/markdownlint-cli2-action@v6
with:
command: fix
globs: '**/*.md'
Expand All @@ -79,7 +79,7 @@ To fix supported issues when linting:
To specify a custom configuration file:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v5
- uses: DavidAnson/markdownlint-cli2-action@v6
with:
command: config
globs: |
Expand All @@ -90,7 +90,7 @@ To specify a custom configuration file:
To prevent linting issues from failing the workflow run:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v5
- uses: DavidAnson/markdownlint-cli2-action@v6
continue-on-error: true
```
Expand Down

0 comments on commit d199b6e

Please sign in to comment.