Skip to content

Commit bf88b6d

Browse files
committed
Change action
1 parent f1815e7 commit bf88b6d

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

.github/workflows/check-links.yaml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,25 @@
11
name: Check links
2-
32
on:
43
push:
54
paths:
65
- '.github/workflows/check-links.yml'
7-
- '.lycheeignore'
8-
- 'lychee.toml'
96
- '**/*.md'
107
pull_request:
118
schedule:
12-
# Run on the first of each month at 9:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07)
139
- cron: "0 9 1 * *"
1410
workflow_dispatch:
15-
1611
concurrency:
1712
group: "${{ github.workflow }}-${{ github.head_ref || github.ref }}"
1813
cancel-in-progress: true
19-
2014
jobs:
21-
lychee:
15+
check-links:
16+
name: runner / linkspector
2217
runs-on: ubuntu-latest
2318
steps:
2419
- uses: actions/checkout@v4
20+
- name: Run linkspector
21+
uses: umbrelladocs/action-linkspector@v1
2522
with:
26-
show-progress: 'false'
27-
- name: Restore lychee cache
28-
uses: actions/cache@v4
29-
with:
30-
path: .lycheecache
31-
key: cache-lychee-${{ github.sha }}
32-
restore-keys: cache-lychee-
33-
- name: Link Checker
34-
id: lychee
35-
uses: lycheeverse/[email protected]
36-
with:
37-
fail: true
38-
args: --accept '200,201,202,203,204,403,429,500' --max-concurrency 1 --cache --no-progress --exclude-all-private './**/*.md'
23+
github_token: ${{ secrets.github_token }}
24+
reporter: github-pr-review
25+
fail_level: any

0 commit comments

Comments
 (0)