diff --git a/.github/workflows/changed.yml b/.github/workflows/changed.yml index 7b65ed0..77cd4de 100644 --- a/.github/workflows/changed.yml +++ b/.github/workflows/changed.yml @@ -12,7 +12,7 @@ jobs: with: files: '**/*.md' separator: "\n" - - uses: DavidAnson/markdownlint-cli2-action@v6 + - uses: DavidAnson/markdownlint-cli2-action@v7 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 04ca8af..73c3d1e 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@v6 + - uses: DavidAnson/markdownlint-cli2-action@v7 with: globs: | *.md diff --git a/README.md b/README.md index ed4d4e4..c414bea 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,13 @@ For more detail: [glob syntax in `markdownlint-cli2`][glob-syntax]. To lint Markdown files in the base directory of a project: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v6 +- uses: DavidAnson/markdownlint-cli2-action@v7 ``` To lint all Markdown files in a project: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v6 +- uses: DavidAnson/markdownlint-cli2-action@v7 with: globs: '**/*.md' ``` @@ -59,7 +59,7 @@ To lint all Markdown files in a project: To lint specific Markdown files in a project: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v6 +- uses: DavidAnson/markdownlint-cli2-action@v7 with: globs: | README.md @@ -70,7 +70,7 @@ To lint specific Markdown files in a project: To fix supported issues when linting: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v6 +- uses: DavidAnson/markdownlint-cli2-action@v7 with: command: fix globs: '**/*.md' @@ -79,7 +79,7 @@ To fix supported issues when linting: To specify a custom configuration file: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v6 +- uses: DavidAnson/markdownlint-cli2-action@v7 with: command: config globs: | @@ -90,7 +90,7 @@ To specify a custom configuration file: To prevent linting issues from failing the workflow run: ```yaml -- uses: DavidAnson/markdownlint-cli2-action@v6 +- uses: DavidAnson/markdownlint-cli2-action@v7 continue-on-error: true ```