File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change 6
6
workflow_dispatch :
7
7
jobs :
8
8
link-checking :
9
- name : Link Checking
9
+ name : QuantEcon AI link checking
10
10
runs-on : " ubuntu-latest"
11
11
permissions :
12
- issues : write # required for peter-evans/create-issue-from-file
12
+ issues : write # required for QuantEcon link-checker
13
13
steps :
14
14
# Checkout the live site (html)
15
15
- name : Checkout
16
16
uses : actions/checkout@v5
17
17
with :
18
18
ref : gh-pages
19
- - name : Link Checker
20
- id : lychee
21
- uses : lycheeverse/lychee-action@v2
19
+ - name : AI-Powered Link Checker
20
+ uses : QuantEcon/meta/.github/actions/link-checker@main
22
21
with :
23
- fail : false
24
- args : --accept 200,403,503 *.html
25
- - name : Create Issue From File
26
- if : steps.lychee.outputs.exit_code != 0
27
- uses : peter-evans/create-issue-from-file@v5
28
- with :
29
- title : Link Checker Report
30
- content-filepath : ./lychee/out.md
31
- labels : report, automated issue, linkchecker
22
+ html-path : ' .' # gh-pages live html
23
+ fail-on-broken : ' false'
24
+ silent-codes : ' 403,503'
25
+ ai-suggestions : ' true'
26
+ create-issue : ' true'
27
+
You can’t perform that action at this time.
0 commit comments