ci(collections): add weekly schedule trigger to url validation

validate-collection-urls.yml only ran on push/pull_request for
collections/**.json, so a URL going stale after merge (Kiwix rotating
a dated filename, openZIM renaming a resource) was never re-checked
until a user hit a 404. #127 proposed a weekly check for exactly this
reason; only the push/PR trigger ended up shipping.

No change to the validation logic, which already checks every URL
correctly via a range request (hardened in #1188). This only adds a
weekly cron trigger alongside the existing ones.
This commit is contained in:
cclavin 2026-08-06 18:26:16 -05:00
parent b6c6ff4f30
commit 77721020c6
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ on:
pull_request:
paths:
- 'collections/**.json'
schedule:
- cron: '17 6 * * 1'
jobs:
validate-urls: