1
0
mirror of https://gitea.com/gitea/awesome-gitea synced 2026-05-14 08:16:12 +03:00

Change link-checker to lychee and weekly checks (#181)

Lychee is a better link checker and faster

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/181
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Nicolas <bircni@icloud.com>
Co-committed-by: Nicolas <bircni@icloud.com>
This commit is contained in:
Nicolas
2026-04-05 05:15:50 +00:00
committed by Lunny Xiao
parent 39bc1a0e74
commit b5baf98a99
+19 -9
View File
@@ -1,16 +1,26 @@
name: Test links
name: Link checker
on:
- push
- pull_request
push:
pull_request:
schedule:
- cron: '0 0 * * 0' # Sunday 00:00 UTC
jobs:
check_urls:
lychee:
name: lychee
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Link check action
uses: serega404/links-check-action@v0.0.1
uses: actions/checkout@v4
- name: Link Checker
uses: lycheeverse/lychee-action@v2
with:
filePath: "README.md"
ignoreCodes: "403,418"
jobSummary: false
args: >-
--no-progress
--max-redirects 0
--accept 100..=103,200..=299,301..=308,403,418
'**/*.md'