Skip to content

Commit 3aaa38e

Browse files
committed
Update documentation and examples to reference @v12.
1 parent 398af5b commit 3aaa38e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/changed.yml

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

.github/workflows/example.yml

+1-1
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@v11
8+
- uses: DavidAnson/markdownlint-cli2-action@v12
99
with:
1010
globs: |
1111
*.md

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ expressions.
6767
To lint Markdown files in the base directory of a project:
6868

6969
```yaml
70-
- uses: DavidAnson/markdownlint-cli2-action@v11
70+
- uses: DavidAnson/markdownlint-cli2-action@v12
7171
```
7272
7373
To lint all Markdown files in a project:
7474
7575
```yaml
76-
- uses: DavidAnson/markdownlint-cli2-action@v11
76+
- uses: DavidAnson/markdownlint-cli2-action@v12
7777
with:
7878
globs: '**/*.md'
7979
```
8080
8181
To lint specific Markdown files in a project:
8282
8383
```yaml
84-
- uses: DavidAnson/markdownlint-cli2-action@v11
84+
- uses: DavidAnson/markdownlint-cli2-action@v12
8585
with:
8686
globs: |
8787
README.md
@@ -92,7 +92,7 @@ To lint specific Markdown files in a project:
9292
To use a custom separator:
9393
9494
```yaml
95-
- uses: DavidAnson/markdownlint-cli2-action@v11
95+
- uses: DavidAnson/markdownlint-cli2-action@v12
9696
with:
9797
globs: 'README.md,CHANGELOG.md,docs/*.md'
9898
separator: ','
@@ -101,7 +101,7 @@ To use a custom separator:
101101
To fix supported issues when linting:
102102
103103
```yaml
104-
- uses: DavidAnson/markdownlint-cli2-action@v11
104+
- uses: DavidAnson/markdownlint-cli2-action@v12
105105
with:
106106
fix: true
107107
globs: '**/*.md'
@@ -110,7 +110,7 @@ To fix supported issues when linting:
110110
To specify a custom configuration file:
111111
112112
```yaml
113-
- uses: DavidAnson/markdownlint-cli2-action@v11
113+
- uses: DavidAnson/markdownlint-cli2-action@v12
114114
with:
115115
config: 'config/custom.markdownlint.jsonc'
116116
globs: '**/*.md'
@@ -119,7 +119,7 @@ To specify a custom configuration file:
119119
To prevent linting issues from failing the workflow run:
120120
121121
```yaml
122-
- uses: DavidAnson/markdownlint-cli2-action@v11
122+
- uses: DavidAnson/markdownlint-cli2-action@v12
123123
continue-on-error: true
124124
```
125125

0 commit comments

Comments
 (0)