From 4ea41dc329704906a2d7e0c72357621382aa4ede Mon Sep 17 00:00:00 2001 From: Jakob Guddas Date: Mon, 24 Mar 2025 09:33:02 +0100 Subject: [PATCH] feat(ci): add `x.com` to brand filter (#2939) * ci: add `x.com` to brand filter * Update custom-words.txt --- .cspell/custom-words.txt | 1 + .github/workflows/close-issue-with-banned-phrases.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.cspell/custom-words.txt b/.cspell/custom-words.txt index 056ab5a51..d41cd853b 100644 --- a/.cspell/custom-words.txt +++ b/.cspell/custom-words.txt @@ -15,3 +15,4 @@ toc codepen codesandbox dribbble +x.com diff --git a/.github/workflows/close-issue-with-banned-phrases.yml b/.github/workflows/close-issue-with-banned-phrases.yml index ce31c6eaa..2807f3607 100644 --- a/.github/workflows/close-issue-with-banned-phrases.yml +++ b/.github/workflows/close-issue-with-banned-phrases.yml @@ -16,7 +16,7 @@ jobs: - name: Check for blocked phrases in issue title run: | ISSUE_TITLE=$(jq -r '.issue.title' "$GITHUB_EVENT_PATH") - BLOCKED_PHRASES=("twitter" "whatsapp" "logo" "google" "tiktok" "facebook" "slack" "discord" "bluesky" "spotify" "behance" "pix") + BLOCKED_PHRASES=("twitter" "whatsapp" "logo" "google" "tiktok" "facebook" "slack" "discord" "bluesky" "spotify" "behance" "pix" "x.com") # Check title and body for blocked phrases for PHRASE in "${BLOCKED_PHRASES[@]}"