-
Notifications
You must be signed in to change notification settings - Fork 53
41 lines (36 loc) · 1.06 KB
/
doc-lint.yml
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
40
41
# This is a lint workflow for documentation and example to help you get started with Actions
name: doc-lint
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
pull_request:
branches: [ master ]
paths:
- 'docs/**'
- '*.md'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a job called "markdownlint"
markdownlint:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Runs actions-markdownlint
- uses: articulate/actions-markdownlint@v1
with:
config: .markdownlint.json
files:
./docs ./*.md
misspell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: misspell
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
pattern: |
*.md
*.tf