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: