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.
2 parents f352fa4 + 49a9877 commit 089b0ecCopy full SHA for 089b0ec
.github/workflows/markdown.yml
@@ -0,0 +1,33 @@
1
+name: 'Markdown Lint'
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+permissions:
10
+ contents: read
11
+ pull-requests: read
12
13
+jobs:
14
+ markdown-lint:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: 'Checkout Repository'
18
+ uses: actions/checkout@v4
19
20
+ - name: "Filter Changes"
21
+ uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
22
+ id: changes
23
+ with:
24
+ filters: |
25
+ src:
26
+ - '**.md'
27
28
+ # lint markdown
29
+ - name: "Lint Markdown"
30
+ if: steps.changes.outputs.src == 'true'
31
+ run: |
32
+ npm install -g markdownlint-cli
33
+ markdownlint '**.md' --ignore node_modules --disable MD013
0 commit comments