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:
@@ -1,16 +1,26 @@
|
|||||||
name: Test links
|
name: Link checker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- push
|
push:
|
||||||
- pull_request
|
pull_request:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 0' # Sunday 00:00 UTC
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_urls:
|
lychee:
|
||||||
|
name: lychee
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: Link check action
|
|
||||||
uses: serega404/links-check-action@v0.0.1
|
- name: Link Checker
|
||||||
|
uses: lycheeverse/lychee-action@v2
|
||||||
with:
|
with:
|
||||||
filePath: "README.md"
|
jobSummary: false
|
||||||
ignoreCodes: "403,418"
|
args: >-
|
||||||
|
--no-progress
|
||||||
|
--max-redirects 0
|
||||||
|
--accept 100..=103,200..=299,301..=308,403,418
|
||||||
|
'**/*.md'
|
||||||
|
|||||||
Reference in New Issue
Block a user