You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/11/28 02:41:42 UTC

[dolphinscheduler-website] branch master updated: [ci] Add timeout threshold to schedule dead link check (#844)

This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ffb88fa93 [ci] Add timeout threshold to schedule dead link check (#844)
1ffb88fa93 is described below

commit 1ffb88fa93c1d4a22edbe9dd919efabe5bca710b
Author: Jay Chung <zh...@gmail.com>
AuthorDate: Mon Nov 28 10:41:37 2022 +0800

    [ci] Add timeout threshold to schedule dead link check (#844)
---
 .github/workflows/dead-link-checker.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/dead-link-checker.yaml b/.github/workflows/dead-link-checker.yaml
index 9935285414..92e3b9d9bb 100644
--- a/.github/workflows/dead-link-checker.yaml
+++ b/.github/workflows/dead-link-checker.yaml
@@ -31,11 +31,12 @@ concurrency:
 jobs:
   CheckDeadLinks:
     runs-on: ubuntu-latest
-    timeout-minutes: 30
+    # Will check all history docs when event is schedule, will cost many times in this case, so we need more time
+    timeout-minutes: 120
     steps:
       - uses: actions/checkout@v2
       - name: Prepare Related Resource
-        if: github.event_name == 'push' && github.ref == 'refs/heads/master' || github.event_name == 'schedule'
+        if: github.event_name == 'schedule'
         run: ./scripts/prepare_docs.sh
       - run: sudo npm install -g markdown-link-check@3.10.0
       # We need to delete directory swap before markdown checker