Skip to content

Commit 43435a5

Browse files
EdwardAngertEdwardAngert
EdwardAngert
authored and
EdwardAngert
committed
add changed.yml
1 parent 40a94f1 commit 43435a5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/actions/docs/changed.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
with:
9+
fetch-depth: 0
10+
- uses: tj-actions/changed-files@v45
11+
id: changed-files
12+
with:
13+
files: 'docs/**/*.md'
14+
separator: ","
15+
- uses: DavidAnson/markdownlint-cli2-action@v18
16+
if: steps.changed-files.outputs.any_changed == 'true'
17+
with:
18+
globs: ${{ steps.changed-files.outputs.all_changed_files }}
19+
separator: ","

0 commit comments

Comments
 (0)