diff --git a/.gitea/workflows/testlinks.yml b/.gitea/workflows/testlinks.yml index 4f604d3..e9a3cf8 100644 --- a/.gitea/workflows/testlinks.yml +++ b/.gitea/workflows/testlinks.yml @@ -1,28 +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@v4 - - name: Link check + - name: Link Checker uses: lycheeverse/lychee-action@v2 with: jobSummary: false args: >- - --verbose --no-progress - --max-retries 5 - --retry-wait-time 3 - --max-concurrency 32 - --host-concurrency 3 - --host-request-interval 200ms - --timeout 60 - --accept 100..=103,200..=299,403,418 - README.md + --max-redirects 0 + --accept 100..=103,200..=299,301..=308,403,418 + '**/*.md'