-
Notifications
You must be signed in to change notification settings - Fork 194
42 lines (40 loc) · 1.15 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
37
38
39
40
41
42
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'
verbose: true
check-questions:
runs-on: ubuntu-latest
strategy:
matrix:
question-type: ['actions', 'admin', 'advanced_security', 'copilot', 'foundations']
steps:
- uses: actions/checkout@v4
- name: Check for missing question files
uses: ./.github/actions/check-missing-questions
with:
questions-path: 'content/questions/${{ matrix.question-type }}'