mirror of
https://gitea.com/gitea/awesome-gitea.git
synced 2026-07-21 07:30:07 +00:00
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>
27 lines
536 B
YAML
27 lines
536 B
YAML
name: Link checker
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
schedule:
|
|
- cron: '0 0 * * 0' # Sunday 00:00 UTC
|
|
|
|
jobs:
|
|
lychee:
|
|
name: lychee
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Link Checker
|
|
uses: lycheeverse/lychee-action@v2
|
|
with:
|
|
jobSummary: false
|
|
args: >-
|
|
--no-progress
|
|
--max-redirects 0
|
|
--accept 100..=103,200..=299,301..=308,403,418
|
|
'**/*.md'
|