0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-11-21 13:51:28 +01:00

Update to version 18.0.0.

This commit is contained in:
David Anson 2024-11-14 18:45:17 -08:00
parent bd47e95879
commit eb5ca3ab41
4 changed files with 10 additions and 10 deletions

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
{ {
"name": "markdownlint-cli2-action", "name": "markdownlint-cli2-action",
"version": "17.0.0", "version": "18.0.0",
"description": "A GitHub Action to run the markdownlint-cli2 tool for linting Markdown/CommonMark files with the markdownlint library", "description": "A GitHub Action to run the markdownlint-cli2 tool for linting Markdown/CommonMark files with the markdownlint library",
"author": { "author": {
"name": "David Anson", "name": "David Anson",