Create link-check.yml (#853)

* Create link-check.yml

* Update link-check.yml
This commit is contained in:
del-zhenwu 2024-01-29 19:16:52 +08:00 committed by GitHub
parent cdca59ff49
commit e8067ac456
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

17
.github/workflows/link-check.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: 'Link check'
on:
schedule:
# check links at 01:30 a.m. every day
- cron: '30 1 * * *'
jobs:
link-check:
runs-on: ubuntu-latest
steps:
# - uses: actions/checkout@v3
- name: linkchecker
run: |
pip install linkchecker
linkchecker https://opencompass.readthedocs.io/ --no-robots -t 30