We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40a94f1 commit 43435a5Copy full SHA for 43435a5
.github/actions/docs/changed.yml
@@ -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
13
+ files: 'docs/**/*.md'
14
+ separator: ","
15
+ - uses: DavidAnson/markdownlint-cli2-action@v18
16
+ if: steps.changed-files.outputs.any_changed == 'true'
17
18
+ globs: ${{ steps.changed-files.outputs.all_changed_files }}
19
0 commit comments