We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd97361 commit 9895676Copy full SHA for 9895676
.github/workflows/markdown-lint.yml
@@ -0,0 +1,21 @@
1
+name: Markdown Lint
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ lint:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ with:
11
+ fetch-depth: 0
12
+ - uses: tj-actions/changed-files@v45
13
+ id: changed-files
14
15
+ files: '**/*.md'
16
+ separator: ","
17
+ - uses: DavidAnson/markdownlint-cli2-action@v19
18
+ if: steps.changed-files.outputs.any_changed == 'true'
19
20
+ globs: ${{ steps.changed-files.outputs.all_changed_files }}
21
0 commit comments