From 2b8557c7d7e00e6c6f5bf3e13441a978ff26ef51 Mon Sep 17 00:00:00 2001 From: Ed Baker Date: Thu, 8 Aug 2024 08:51:40 -0700 Subject: [PATCH] ci: Temporarily remove link checking Markdown Link Check fails when checking links at https://www.intel.com/content/www/us/ and https://www.intel.com/content/dam/www/. When run from GitHub's virtual machines these links report HTTP 403. A new approach will be necessary to automatically check link validity. Removing automated checks in the mean time to avoid CI failures. --- .github/workflows/check-markdown-links.yml | 22 ---------------------- .github/workflows/mlc_config.json | 21 --------------------- 2 files changed, 43 deletions(-) delete mode 100644 .github/workflows/check-markdown-links.yml delete mode 100644 .github/workflows/mlc_config.json diff --git a/.github/workflows/check-markdown-links.yml b/.github/workflows/check-markdown-links.yml deleted file mode 100644 index 189d0faa..00000000 --- a/.github/workflows/check-markdown-links.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Check Markdown links - -on: - schedule: - # Tuesdays at 9AM PST. GitHub Actions run in UTC. - - cron: '0 16 * * 2' - -permissions: - contents: read - -jobs: - markdown-link-check: - runs-on: ubuntu-latest - # Only run link checks in the main repo and not forks. The intent - # is a low volume reminder to update stale links. - if: github.repository == 'intel/perfmon' - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # 1.0.15 - with: - use-verbose-mode: 'yes' - config-file: '.github/workflows/mlc_config.json' diff --git a/.github/workflows/mlc_config.json b/.github/workflows/mlc_config.json deleted file mode 100644 index 1e8ad022..00000000 --- a/.github/workflows/mlc_config.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "ignorePatterns": [ - { - "pattern": "^http:\\/\\/www\\.intel\\.com\\/design\\/literature\\.htm$" - } - ], - "httpHeaders": [ - { - "urls": [ - "https://www.intel.com/" - ], - "headers": { - "Accept": "text/html,application/xhtml+xml,application/xml", - "Accept-Language": "en-US,en;q=0.5", - "Accept-Encoding": "gzip, deflate, br", - "Connection": "keep-alive", - "User-Agent": "" - } - } - ] -} \ No newline at end of file