From 980d97db598cc5922d3597890629a8311474e7c1 Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Fri, 25 Oct 2024 19:57:03 +0800 Subject: [PATCH] [Chore](GA)Remove deadlink-check Our documents have already been moved to the website --- .dlc.json | 19 -------------- .github/workflows/deadlink-check.yml | 37 ---------------------------- 2 files changed, 56 deletions(-) delete mode 100644 .dlc.json delete mode 100644 .github/workflows/deadlink-check.yml diff --git a/.dlc.json b/.dlc.json deleted file mode 100644 index 99e425420b0b43..00000000000000 --- a/.dlc.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "ignorePatterns": [ - { - "pattern": "^http://localhost" - }, - { - "pattern": "^https://twitter.com*" - } - ], - "timeout": "10s", - "retryOn429": true, - "retryCount": 10, - "fallbackRetryDelay": "1000s", - "aliveStatusCodes": [ - 200, - 401, - 403 - ] -} \ No newline at end of file diff --git a/.github/workflows/deadlink-check.yml b/.github/workflows/deadlink-check.yml deleted file mode 100644 index 9292e17c101154..00000000000000 --- a/.github/workflows/deadlink-check.yml +++ /dev/null @@ -1,37 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: Dead Link Checker - -on: - schedule: - - cron: '30 3,14 * * *' - -concurrency: - group: dlc-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - CheckDeadLinks: - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - uses: actions/checkout@v3 - - run: sudo npm install -g markdown-link-check@3.10.0 - - run: | - for file in $(find . -name "*.md"); do - markdown-link-check -c .dlc.json -q "$file" - done \ No newline at end of file