Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59a92c9

Browse files
EdwardAngertEdwardAngert
EdwardAngert
authored and
EdwardAngert
committed
remove redundancy from docs-pr.yaml
1 parent 1da5f23 commit 59a92c9

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

.github/workflows/docs-pr.yaml

+14-18
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,17 @@ jobs:
88
lint:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
12-
with:
13-
fetch-depth: 0
14-
- uses: tj-actions/changed-files@v45
15-
id: changed-files
16-
with:
17-
files: 'docs/**/*.md'
18-
separator: ","
19-
- uses: DavidAnson/markdownlint-cli2-action@v18
20-
if: steps.changed-files.outputs.any_changed == 'true'
21-
with:
22-
globs: ${{ steps.changed-files.outputs.all_changed_files }}
23-
separator: ","
24-
- name: markdownlint-cli2-action
25-
uses: DavidAnson/[email protected]
26-
with:
27-
config: ".github/actions/docs/markdownlint-cli2/.markdownlint.json"
28-
globs: "docs/**/*.md"
11+
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- uses: tj-actions/changed-files@v45
15+
id: changed-files
16+
with:
17+
files: "docs/**/*.md"
18+
separator: ","
19+
- uses: DavidAnson/markdownlint-cli2-action@v18
20+
if: steps.changed-files.outputs.any_changed == 'true'
21+
with:
22+
globs: ${{ steps.changed-files.outputs.all_changed_files }}
23+
separator: ","
24+
config: ".github/actions/docs/markdownlint-cli2/.markdownlint.json"

0 commit comments

Comments
 (0)