-
Notifications
You must be signed in to change notification settings - Fork 1k
39 lines (32 loc) · 790 Bytes
/
docs.yml
File metadata and controls
39 lines (32 loc) · 790 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
35
36
37
38
39
name: "Docs"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Only consider changes to documentation
paths:
- '**/*.md'
- '**/*.rst'
- '**/*.txt'
schedule:
- cron: '25 6 * * 3'
permissions:
contents: read
jobs:
documentation:
name: Lint RST and MD files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install rstcheck and markdownlint
run: |
pip install rstcheck
sudo gem install mdl
- name: Run rstcheck on all RST files
run: make checkrst
- name: Run mdl on all MD files
run: make checkmd