From 87fe931c1bf36650e5788060151f4b25f66590c4 Mon Sep 17 00:00:00 2001 From: peetzweg/ Date: Fri, 5 Jan 2024 11:08:36 +0100 Subject: [PATCH] ignore twitter/x links as it's broken see https://github.com/gaurav-nelson/github-action-markdown-link-check/issues/182 --- .github/workflows/mlc_config.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mlc_config.json b/.github/workflows/mlc_config.json index 6cabb3fc2f..cd9c9d9410 100644 --- a/.github/workflows/mlc_config.json +++ b/.github/workflows/mlc_config.json @@ -11,12 +11,18 @@ ], "httpHeaders": [ { - "urls": [ - "https://crates.io" - ], + "urls": ["https://crates.io"], "headers": { "Accept": "text/html" } } + ], + "ignorePatterns": [ + { + "pattern": "^https?://twitter.com" + }, + { + "pattern": "^https?://x.com" + } ] }