Add cron job to regular check urls

check docs and cryptomator website urls
This commit is contained in:
Armin Schrenk
2026-10-16 16:50:43 +02:00
parent 6c03aa9c4e
commit 7cf1323cac
+28
View File
@@ -0,0 +1,28 @@
name: Check docs and website URLs #using Lychee
on:
schedule:
- cron: '0 6 * * 1' # every Monday
workflow_dispatch:
permissions: {}
jobs:
check-urls:
name: Check URLs
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
# explicitly listed files are checked regardless of their extension
- name: List tracked text files containing URLs
run: git grep -lI -e 'https\?://' > url-files.txt
- uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0
with:
args: >-
--no-progress
--include '^https?://(docs\.)?cryptomator\.org([/?#]|$)'
--files-from url-files.txt