-
Notifications
You must be signed in to change notification settings - Fork 145
37 lines (35 loc) · 1.1 KB
/
link-checker.yml
File metadata and controls
37 lines (35 loc) · 1.1 KB
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: Link checker
on:
workflow_dispatch:
schedule:
- cron: "0 10 * * 0"
#push:
# branches:
# - main
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main
jobs:
link_checker_job:
runs-on: ubuntu-latest
name: Link Checker Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Run build
run: |
echo $PWD
./build.sh
- name: Link Checker
uses: lycheeverse/lychee-action@v2
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: "--no-progress --max-concurrency 8 --accept 200,429 --exclude-path root/llms.txt --exclude-path root/llms-full.txt --exclude-path root/llms-small.txt --exclude-loopback --require-https --exclude sample.duendesoftware.com --exclude docs.duendesoftware.com --exclude sitemap --exclude \"https://github.com/DuendeArchive/IdentityModel.AspNetCore/\" --root-dir \"$PWD/root\" root/**"
fail: true