0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-11-27 00:26:22 +01:00

Update to version 15.0.0.

This commit is contained in:
David Anson 2024-01-17 21:14:04 -08:00
parent 635569d706
commit 510b996878
4 changed files with 10 additions and 10 deletions

View file

@ -12,7 +12,7 @@ jobs:
with:
files: '**/*.md'
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
if: steps.changed-files.outputs.any_changed == 'true'
with:
globs: ${{ steps.changed-files.outputs.all_changed_files }}

View file

@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: |
*.md

View file

@ -51,13 +51,13 @@ expressions.
To lint Markdown files in the base directory of a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
```
To lint all Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: '**/*.md'
```
@ -65,7 +65,7 @@ To lint all Markdown files in a project:
To lint specific Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: |
README.md
@ -76,7 +76,7 @@ To lint specific Markdown files in a project:
To use a custom separator:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: 'README.md,CHANGELOG.md,docs/*.md'
separator: ','
@ -85,7 +85,7 @@ To use a custom separator:
To fix supported issues when linting:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
with:
fix: true
globs: '**/*.md'
@ -94,7 +94,7 @@ To fix supported issues when linting:
To specify a custom configuration file:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
with:
config: 'config/custom.markdownlint.jsonc'
globs: '**/*.md'
@ -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@v14
- uses: DavidAnson/markdownlint-cli2-action@v15
continue-on-error: true
```

View file

@ -1,6 +1,6 @@
{
"name": "markdownlint-cli2-action",
"version": "14.0.0",
"version": "15.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",