You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2022/08/10 06:23:47 UTC

[incubator-linkis] branch master updated: Add github action Dead Link Checker (#2638)

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

peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git


The following commit(s) were added to refs/heads/master by this push:
     new 838b7ae92 Add github action Dead Link Checker (#2638)
838b7ae92 is described below

commit 838b7ae92a41605db624be32352b531c01a6e32a
Author: Beacontownfc <89...@users.noreply.github.com>
AuthorDate: Wed Aug 10 14:23:42 2022 +0800

    Add github action Dead Link Checker (#2638)
    
    * Create dead-link-checker.yaml
---
 .github/workflows/dead-link-checker.yaml | 17 +++++++++++++++++
 .github/workflows/dlc.json               | 11 +++++++++++
 2 files changed, 28 insertions(+)

diff --git a/.github/workflows/dead-link-checker.yaml b/.github/workflows/dead-link-checker.yaml
new file mode 100644
index 000000000..2d0ba340e
--- /dev/null
+++ b/.github/workflows/dead-link-checker.yaml
@@ -0,0 +1,17 @@
+on:
+  pull_request
+  
+ 
+jobs:
+  CheckDeadLinks:
+    runs-on: ubuntu-latest
+    timeout-minutes: 30
+    if: (github.repository == 'apache/incubator-linkis')
+    steps:
+      - uses: actions/checkout@v3
+      - uses: gaurav-nelson/github-action-markdown-link-check@v1
+        with:
+          use-quiet-mode: 'no'
+          use-verbose-mode: 'yes'
+          folder-path: '../'
+          config-file: '.github/workflows/dlc.json'
diff --git a/.github/workflows/dlc.json b/.github/workflows/dlc.json
new file mode 100644
index 000000000..415184604
--- /dev/null
+++ b/.github/workflows/dlc.json
@@ -0,0 +1,11 @@
+{
+  "timeout": "10s",
+  "retryOn429": true,
+  "retryCount": 10,
+  "fallbackRetryDelay": "1000s",
+  "aliveStatusCodes": [
+    200,
+    401,
+    403
+  ]
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org