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

zihaoxiang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new f8919c0509 [Doc] Fix ci docs check timeout issue (#15664)
f8919c0509 is described below

commit f8919c0509f6037bae4c898016607e1d98905ec2
Author: xiangzihao <[email protected]>
AuthorDate: Mon Mar 4 15:16:11 2024 +0800

    [Doc] Fix ci docs check timeout issue (#15664)
    
    * fix docs check timeout issue
    
    * fix docs check timeout issue
    
    * fix docs check timeout issue
    
    * fix docs check timeout issue
    
    * fix docs check timeout issue
    
    * fix docs check timeout issue
    
    * fix docs check timeout issue
    
    * fix docs check timeout issue
    
    * fix docs check timeout issue
---
 .github/workflows/docs.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 09fba9c6ce..591bb0a65b 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -55,13 +55,15 @@ jobs:
     timeout-minutes: 30
     steps:
       - uses: actions/checkout@v2
-      - run: sudo npm install -g [email protected]
+      - run: sudo npm install -g [email protected]
+      - run: sudo apt install plocate -y
       # NOTE: Change command from `find . -name "*.md"` to `find . -not -path 
"*/node_modules/*" -not -path "*/.tox/*" -name "*.md"`
       # if you want to run check locally
       - run: |
-          for file in $(find . -name "*.md" -not \( -path 
./deploy/terraform/aws/README.md -prune \)); do
-            markdown-link-check -c .dlc.json -q "$file"
+          for file in $(locate "$PWD*/*.md" | grep -v 
./deploy/terraform/aws/README.md); do
+            markdown-link-check -c .dlc.json -q "$file" &
           done
+          wait
   paths-filter:
     name: Helm-Doc-Path-Filter
     runs-on: ubuntu-latest

Reply via email to