From e8067ac456f1b6afa11e8a5251246962dae5e556 Mon Sep 17 00:00:00 2001 From: del-zhenwu Date: Mon, 29 Jan 2024 19:16:52 +0800 Subject: [PATCH] Create link-check.yml (#853) * Create link-check.yml * Update link-check.yml --- .github/workflows/link-check.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/link-check.yml diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml new file mode 100644 index 00000000..f8da4a53 --- /dev/null +++ b/.github/workflows/link-check.yml @@ -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