Skip to content

Commit

Permalink
Update to version 16.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Apr 8, 2024
1 parent 349248f commit b4c9fea
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
files: '**/*.md'
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
if: steps.changed-files.outputs.any_changed == 'true'
with:
globs: ${{ steps.changed-files.outputs.all_changed_files }}
Expand Down
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@v4
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: |
*.md
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,21 @@ expressions.
To lint Markdown files in the base directory of a project:

```yaml
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
```
To lint all Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: '**/*.md'
```
To lint specific Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: |
README.md
Expand All @@ -76,7 +76,7 @@ To lint specific Markdown files in a project:
To use a custom separator:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: 'README.md,CHANGELOG.md,docs/*.md'
separator: ','
Expand All @@ -85,7 +85,7 @@ To use a custom separator:
To fix supported issues when linting:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
fix: true
globs: '**/*.md'
Expand All @@ -94,7 +94,7 @@ To fix supported issues when linting:
To specify a custom configuration file:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
config: 'config/custom.markdownlint.jsonc'
globs: '**/*.md'
Expand All @@ -103,7 +103,7 @@ To specify a custom configuration file:
To prevent linting issues from failing the workflow run:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16
continue-on-error: true
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "markdownlint-cli2-action",
"version": "15.0.0",
"version": "16.0.0",
"description": "A GitHub Action to run the markdownlint-cli2 tool for linting Markdown/CommonMark files with the markdownlint library",
"author": {
"name": "David Anson",
Expand Down

0 comments on commit b4c9fea

Please sign in to comment.