-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (28 loc) · 726 Bytes
/
docs.yml
File metadata and controls
34 lines (28 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Docs Guidelines
on:
pull_request:
push:
paths:
- '.github/workflows/**'
- '**.md'
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Create .markdownlint-cli2.jsonc
run: |
echo '{ "fix": true }' > .markdownlint-cli2.jsonc
- name: markdownlint-cli2-action
uses: DavidAnson/markdownlint-cli2-action@v9
continue-on-error: true
with:
globs: |
**/*.md
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: Fixed docs style