From d1d36bb92699d921f7c71c1bb70b1c4ff8a9e8b8 Mon Sep 17 00:00:00 2001 From: Omer Siddiqui Date: Wed, 8 May 2024 14:46:14 -0500 Subject: [PATCH] exlude twitter links from linkcheck --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4065662..6a2afff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,5 +29,7 @@ jobs: run: yarn build # Run linkcheck, propagate linkcheck failure through grep pipe - name: Linkcheck - run: set -o pipefail; yarn linkcheck 2>/dev/null | grep "Getting links from\|BROKEN" + run: | + set -o pipefail + yarn linkcheck 2>/dev/null | grep -v "https://twitter.com" | grep "Getting links from\|BROKEN" continue-on-error: false