Skip to content

Commit a68af9a

Browse files
committed
Update documentation and example to reference @v7.
1 parent 2768abd commit a68af9a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/changed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
files: '**/*.md'
1414
separator: "\n"
15-
- uses: DavidAnson/markdownlint-cli2-action@v6
15+
- uses: DavidAnson/markdownlint-cli2-action@v7
1616
if: steps.changed-files.outputs.any_changed == 'true'
1717
with:
1818
globs: ${{ steps.changed-files.outputs.all_changed_files }}

.github/workflows/example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v3
8-
- uses: DavidAnson/markdownlint-cli2-action@v6
8+
- uses: DavidAnson/markdownlint-cli2-action@v7
99
with:
1010
globs: |
1111
*.md

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,21 @@ For more detail: [glob syntax in `markdownlint-cli2`][glob-syntax].
4545
To lint Markdown files in the base directory of a project:
4646

4747
```yaml
48-
- uses: DavidAnson/markdownlint-cli2-action@v6
48+
- uses: DavidAnson/markdownlint-cli2-action@v7
4949
```
5050
5151
To lint all Markdown files in a project:
5252
5353
```yaml
54-
- uses: DavidAnson/markdownlint-cli2-action@v6
54+
- uses: DavidAnson/markdownlint-cli2-action@v7
5555
with:
5656
globs: '**/*.md'
5757
```
5858
5959
To lint specific Markdown files in a project:
6060
6161
```yaml
62-
- uses: DavidAnson/markdownlint-cli2-action@v6
62+
- uses: DavidAnson/markdownlint-cli2-action@v7
6363
with:
6464
globs: |
6565
README.md
@@ -70,7 +70,7 @@ To lint specific Markdown files in a project:
7070
To fix supported issues when linting:
7171
7272
```yaml
73-
- uses: DavidAnson/markdownlint-cli2-action@v6
73+
- uses: DavidAnson/markdownlint-cli2-action@v7
7474
with:
7575
command: fix
7676
globs: '**/*.md'
@@ -79,7 +79,7 @@ To fix supported issues when linting:
7979
To specify a custom configuration file:
8080
8181
```yaml
82-
- uses: DavidAnson/markdownlint-cli2-action@v6
82+
- uses: DavidAnson/markdownlint-cli2-action@v7
8383
with:
8484
command: config
8585
globs: |
@@ -90,7 +90,7 @@ To specify a custom configuration file:
9090
To prevent linting issues from failing the workflow run:
9191
9292
```yaml
93-
- uses: DavidAnson/markdownlint-cli2-action@v6
93+
- uses: DavidAnson/markdownlint-cli2-action@v7
9494
continue-on-error: true
9595
```
9696

0 commit comments

Comments
 (0)