-
Notifications
You must be signed in to change notification settings - Fork 312
38 lines (34 loc) · 1 KB
/
documentation.yaml
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
name: Markdown spellcheck and link check
on:
pull_request:
push:
branches:
- "main"
permissions:
contents: read
jobs:
# BEWARE(streetsidesoftware/cspell-action#187): a misconfigured cspell will _not_ have a non-zero exit code...
spellcheck:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v3
with:
config: "docs/cspell.json"
files: "**/*.md"
strict: true
incremental_files_only: false
linkinator:
name: linkinator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jprochazk/linkinator-action@main
with:
paths: "**/*.md"
linksToSkip: "https://crates.io/crates/.*, https://github.com/rerun-io/rerun/pull/.*" # Avoid crates.io rate-limiting, and skip changelog PR links (so many)
retry: true
retryErrors: true
retryErrorsCount: 5
retryErrorsJitter: 2000