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 2225e67 commit 6ac6873Copy full SHA for 6ac6873
1 file changed
.github/workflows/lint-md.yml
@@ -0,0 +1,26 @@
1
+name: Lint Markdown file
2
+
3
+on:
4
+ # Runs on pushes targeting the default branch
5
+ push:
6
+ branches: ["main"]
7
8
+ # Run on pull request
9
+ pull_request:
10
11
12
+ # Allows you to run this workflow manually from the Actions tab
13
+ workflow_dispatch:
14
15
+jobs:
16
+ # Lint Markdown file job
17
+ lint:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: DavidAnson/markdownlint-cli2-action@v15
22
+ with:
23
+ # Lint all markdown files in the repo
24
+ globs: '**/*.md'
25
+ # Automatically fix supported issues
26
+ fix: true
0 commit comments