2024-05-03 22:23:35 +02:00
|
|
|
name: Links
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '00 18 * * *'
|
|
|
|
jobs:
|
|
|
|
linkChecker:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
2024-05-06 21:18:46 +00:00
|
|
|
- name: Checkout next
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Checkout v7
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
path: v7
|
|
|
|
|
2024-05-05 12:41:05 +02:00
|
|
|
- name: Install lychee
|
|
|
|
run: |
|
2025-01-08 14:19:44 +01:00
|
|
|
curl -sLO "https://github.com/lycheeverse/lychee/releases/download/lychee-v0.18.0/lychee-x86_64-unknown-linux-gnu.tar.gz"
|
|
|
|
tar -xvzf "lychee-x86_64-unknown-linux-gnu.tar.gz"
|
2024-05-03 22:23:35 +02:00
|
|
|
|
|
|
|
- name: Link Checker
|
|
|
|
id: lychee
|
2025-01-15 11:08:34 +01:00
|
|
|
run: ./lychee --config .lychee.toml docs v7/docs
|
2024-05-06 21:18:46 +00:00
|
|
|
|
|
|
|
- name: Update issue
|
2025-01-13 10:17:05 +01:00
|
|
|
if: '!cancelled()'
|
2024-05-06 21:18:46 +00:00
|
|
|
uses: https://github.com/peter-evans/create-issue-from-file@v5.0.0
|
|
|
|
with:
|
|
|
|
title: Dead links report
|
|
|
|
issue-number: 583
|
|
|
|
content-filepath: ./report.md
|