File tree Expand file tree Collapse file tree 2 files changed +29
-9
lines changed Expand file tree Collapse file tree 2 files changed +29
-9
lines changed Original file line number Diff line number Diff line change 3030 run : |
3131 python3 build.py
3232 find build -type f
33-
34- - name : Check faulty external links
35- run : |
36- cd scripts/link_checker
37- pip install -r requirements.txt
38- echo "Generating links from build"
39- ./generate_links_from_build.sh ../../build/HPC/Gent > links.txt
40- echo "Checking links"
41- python check_links.py --whitelist whitelist.txt links.txt
Original file line number Diff line number Diff line change 1+ name : Links
2+
3+ on :
4+ repository_dispatch :
5+ workflow_dispatch :
6+ schedule :
7+ - cron : " 00 6 * * *"
8+
9+ jobs :
10+ linkChecker :
11+ runs-on : ubuntu-latest
12+ permissions :
13+ issues : write # required for peter-evans/create-issue-from-file
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Link Checker
18+ id : lychee
19+ uses : lycheeverse/lychee-action@v2
20+ with :
21+ fail : false
22+
23+ - name : Create Issue From File
24+ if : steps.lychee.outputs.exit_code != 0
25+ uses : peter-evans/create-issue-from-file@v5
26+ with :
27+ title : Link Checker Report
28+ content-filepath : ./lychee/out.md
29+ labels : report, automated issue
You can’t perform that action at this time.
0 commit comments