-
Notifications
You must be signed in to change notification settings - Fork 14
42 lines (37 loc) · 904 Bytes
/
docs.yaml
File metadata and controls
42 lines (37 loc) · 904 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
40
41
42
name: Documentation
on:
push:
branches:
- main
paths:
- '**.md'
- 'docs/**'
- '.markdownlint.json'
- '.github/workflows/docs.yaml'
pull_request:
types:
- opened
- reopened
- synchronize
paths:
- '**.md'
- 'docs/**'
- '.markdownlint.json'
- '.github/workflows/docs.yaml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
markdown-lint:
name: Markdown Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Lint Markdown files
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 # v22.0.0
with:
globs: '**/*.md'