GHA: make links get checked daily

Assisted-by: Viktor Szakats
Closes #19898
This commit is contained in:
Daniel Stenberg 2025-12-09 14:39:16 +01:00
parent 74bc0c80b3
commit 073b85cefe
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 30 additions and 13 deletions

28
.github/workflows/checkurls.yml vendored Normal file
View file

@ -0,0 +1,28 @@
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl
name: 'URLs'
'on':
schedule:
- cron: '10 5 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: {}
jobs:
linkcheck:
if: ${{ github.repository_owner == 'curl' }}
name: 'linkcheck'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: 'mdlinkcheck'
run: ./scripts/mdlinkcheck