From 3aaa38e446fbd2c288af4291aa0f55d64651050f Mon Sep 17 00:00:00 2001 From: David Anson Date: Tue, 29 Aug 2023 21:30:26 -0700 Subject: [PATCH] Update documentation and examples to reference @v12. --- .github/workflows/changed.yml | 2 +- .github/workflows/example.yml | 2 +- README.md | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/changed.yml b/.github/workflows/changed.yml index 5ad7474..5885e1e 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@v11 + - uses: DavidAnson/markdownlint-cli2-action@v12 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 4de5fb9..4eae510 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: DavidAnson/markdownlint-cli2-action@v11 + - uses: DavidAnson/markdownlint-cli2-action@v12 with: globs: | *.md diff --git a/README.md b/README.md index 9991c19..64911dd 100644 --- a/README.md +++ b/README.md @@ -67,13 +67,13 @@ expressions. To lint Markdown files in the base directory of a project: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v11 +- uses: DavidAnson/markdownlint-cli2-action@v12 ``` To lint all Markdown files in a project: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v11 +- uses: DavidAnson/markdownlint-cli2-action@v12 with: globs: '**/*.md' ``` @@ -81,7 +81,7 @@ To lint all Markdown files in a project: To lint specific Markdown files in a project: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v11 +- uses: DavidAnson/markdownlint-cli2-action@v12 with: globs: | README.md @@ -92,7 +92,7 @@ To lint specific Markdown files in a project: To use a custom separator: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v11 +- uses: DavidAnson/markdownlint-cli2-action@v12 with: globs: 'README.md,CHANGELOG.md,docs/*.md' separator: ',' @@ -101,7 +101,7 @@ To use a custom separator: To fix supported issues when linting: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v11 +- uses: DavidAnson/markdownlint-cli2-action@v12 with: fix: true globs: '**/*.md' @@ -110,7 +110,7 @@ To fix supported issues when linting: To specify a custom configuration file: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v11 +- uses: DavidAnson/markdownlint-cli2-action@v12 with: config: 'config/custom.markdownlint.jsonc' globs: '**/*.md' @@ -119,7 +119,7 @@ To specify a custom configuration file: To prevent linting issues from failing the workflow run: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v11 +- uses: DavidAnson/markdownlint-cli2-action@v12 continue-on-error: true ```