From da77f2683e0c70b126b4a33c0d05ed436a4d78a0 Mon Sep 17 00:00:00 2001 From: YunShu Date: Mon, 11 Sep 2023 23:48:09 +0800 Subject: [PATCH] ci: remove links check https://github.com/Selflocking/linkchecker/actions I check every week whether the links in the updated repo are dead links, so this ci is redundant. --- .github/workflows/docs-links-check-pr.yml | 33 ------------------- .github/workflows/docs-links-check.yml | 23 ------------- .../workflows/docs.links.check.config.json | 7 ---- 3 files changed, 63 deletions(-) delete mode 100644 .github/workflows/docs-links-check-pr.yml delete mode 100644 .github/workflows/docs-links-check.yml delete mode 100644 .github/workflows/docs.links.check.config.json diff --git a/.github/workflows/docs-links-check-pr.yml b/.github/workflows/docs-links-check-pr.yml deleted file mode 100644 index ae97d77..0000000 --- a/.github/workflows/docs-links-check-pr.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Check links for modified docs - -on: - pull_request: - paths: - - 'docs/**' - -jobs: - docs-links-check: - runs-on: ubuntu-latest - steps: - - name: Checkout 🛎️ - uses: actions/checkout@master - - - name: Check links for mdx files 🔎 - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - use-quiet-mode: 'yes' # only show errors in output. - # use-verbose-mode: 'yes' # show detailed HTTP status for checked links. - # refer to https://github.com/tcort/markdown-link-check#config-file-format - config-file: '.github/workflows/docs.links.check.config.json' - check-modified-files-only: 'yes' - file-extension: '.mdx' - - - name: Check links for markdown files 🔎 - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - use-quiet-mode: 'yes' # only show errors in output. - # use-verbose-mode: 'yes' # show detailed HTTP status for checked links. - # refer to https://github.com/tcort/markdown-link-check#config-file-format - config-file: '.github/workflows/docs.links.check.config.json' - check-modified-files-only: 'yes' - file-extension: '.md' diff --git a/.github/workflows/docs-links-check.yml b/.github/workflows/docs-links-check.yml deleted file mode 100644 index 8c22b25..0000000 --- a/.github/workflows/docs-links-check.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Docs Links Check - -on: - workflow_dispatch: - schedule: - - cron: "0 12 * * 6" # runs every saturday at 12:00 UTC - -jobs: - docs-links-check: - runs-on: ubuntu-latest - steps: - - name: Checkout 🛎️ - uses: actions/checkout@master - - - name: Check Links 🔎 - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - use-quiet-mode: 'yes' # only show errors in output. - # use-verbose-mode: 'yes' # show detailed HTTP status for checked links. - folder-path: 'docs/' # only check the docs/ folder - # refer to https://github.com/tcort/markdown-link-check#config-file-format - config-file: '.github/workflows/docs.links.check.config.json' - file-extension: '.md*' # .md or .mdx diff --git a/.github/workflows/docs.links.check.config.json b/.github/workflows/docs.links.check.config.json deleted file mode 100644 index 5f03255..0000000 --- a/.github/workflows/docs.links.check.config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "ignorePatterns": [ - { - "pattern": "^(?!https?:\/\/)" - } - ] -} \ No newline at end of file