-
Notifications
You must be signed in to change notification settings - Fork 194
36 lines (34 loc) · 1.06 KB
/
pr-checks.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
name: PR Checks
on:
pull_request:
branches: [ master ]
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Link Checker
uses: lycheeverse/[email protected]
with:
args: --verbose --no-progress './**/*.md' './**/*.html' --exclude-all-private --exclude 'file:///*'
fail: true
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
spell-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v6
with:
files: 'content/**/*.md'
config: 'cspell.json'
# Log progress and other information during the action execution.
verbose: true
# Determines if the action should be failed if any spelling issues are found.
strict: true
# Limit the files checked to the ones in the pull request or push.
incremental_files_only: true