From eb5ca3ab411449c66620fe7f1b3c9e10547144b0 Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 14 Nov 2024 18:45:17 -0800 Subject: [PATCH] Update to version 18.0.0. --- .github/workflows/changed.yml | 2 +- .github/workflows/example.yml | 2 +- README.md | 14 +++++++------- package.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/changed.yml b/.github/workflows/changed.yml index 640fd7b..021d85c 100644 --- a/.github/workflows/changed.yml +++ b/.github/workflows/changed.yml @@ -12,7 +12,7 @@ jobs: with: files: '**/*.md' separator: "," - - uses: DavidAnson/markdownlint-cli2-action@v17 + - uses: DavidAnson/markdownlint-cli2-action@v18 if: steps.changed-files.outputs.any_changed == 'true' with: globs: ${{ steps.changed-files.outputs.all_changed_files }} diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 3407d95..e485651 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: DavidAnson/markdownlint-cli2-action@v17 + - uses: DavidAnson/markdownlint-cli2-action@v18 with: globs: | *.md diff --git a/README.md b/README.md index cfda5b7..3f15fa6 100644 --- a/README.md +++ b/README.md @@ -51,13 +51,13 @@ expressions. To lint Markdown files in the base directory of a project: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v17 +- uses: DavidAnson/markdownlint-cli2-action@v18 ``` To lint all Markdown files in a project: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v17 +- uses: DavidAnson/markdownlint-cli2-action@v18 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@v17 +- uses: DavidAnson/markdownlint-cli2-action@v18 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@v17 +- uses: DavidAnson/markdownlint-cli2-action@v18 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@v17 +- uses: DavidAnson/markdownlint-cli2-action@v18 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@v17 +- uses: DavidAnson/markdownlint-cli2-action@v18 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@v17 +- uses: DavidAnson/markdownlint-cli2-action@v18 continue-on-error: true ``` diff --git a/package.json b/package.json index 9d8ddce..b7b9ab1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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", "author": { "name": "David Anson",