kayx23 commented on code in PR #9760:
URL: https://github.com/apache/apisix/pull/9760#discussion_r1255381553


##########
.github/workflows/link-check.yml:
##########
@@ -0,0 +1,49 @@
+name: 'Link Checker'
+
+# **What it does**: Renders the content of every page and check all internal 
links.
+# **Why we have it**: To make sure all links connect correctly.
+# **Who does it impact**: Docs content.
+
+on:
+  workflow_dispatch:
+  push:
+    # branches: [master, 'release/**']
+    paths:
+      - '**/*.md'
+      - '**/link-check.yml'
+  pull_request:
+    branches: [master, "release/**"]
+    paths:
+      - '**/*.md'
+      - '**/link-check.yml'
+
+permissions:
+  contents: read
+  # Needed for the 'trilom/file-changes-action' action
+  pull-requests: read
+
+# This allows a subsequently queued workflow run to interrupt previous runs
+concurrency:
+  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || 
github.head_ref || github.ref }}'
+  cancel-in-progress: true
+
+jobs:
+  check-links:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+
+      - name: Get script
+        run: |
+          wget 
https://raw.githubusercontent.com/xuruidong/markdown-link-checker/main/link_checker.py

Review Comment:
   @monkeyDluffy6017 note that this is a personal repo.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to