From cd1dcf1eba13cca5aa4e009a03f7d6e7656e82a0 Mon Sep 17 00:00:00 2001 From: ChunFu Wu <319355703@qq.com> Date: Sat, 21 May 2022 10:41:34 +0800 Subject: [PATCH] [Feature][CI] Schedule Dead Link Checker (#10000) --- .github/workflows/docs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dfcd075a71..1ef6c75e31 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,6 +22,8 @@ on: - '.github/workflows/docs.yml' - '**/*.md' - 'docs/**' + schedule: + - cron: '0 18 * * *' # TimeZone: UTC 0 concurrency: group: doc-${{ github.event.pull_request.number || github.ref }} @@ -47,6 +49,7 @@ jobs: run: python img_utils.py -v check dead-link: name: Dead Link + if: (github.event_name == 'schedule' && github.repository == 'apache/dolphinscheduler') || (github.event_name != 'schedule') runs-on: ubuntu-latest timeout-minutes: 30 steps: