From aad5daa3d2ef4e57144ccc7c0841d1a0583dd8bd Mon Sep 17 00:00:00 2001 From: hugocasa Date: Thu, 19 Feb 2026 17:28:55 +0100 Subject: [PATCH] remove embeds and mentions from PR thread comments --- .github/workflows/shareable-discord-notification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/shareable-discord-notification.yml b/.github/workflows/shareable-discord-notification.yml index 68f803280f..cf8c7d9078 100644 --- a/.github/workflows/shareable-discord-notification.yml +++ b/.github/workflows/shareable-discord-notification.yml @@ -174,7 +174,7 @@ jobs: # 3) Post the comment to the thread message=$(printf '**%s** [commented](%s):\n%s' "$COMMENT_AUTHOR" "$COMMENT_URL" "$truncated_body") - payload=$(jq -n --arg content "$message" '{content: $content}') + payload=$(jq -n --arg content "$message" '{content: $content, flags: 4, allowed_mentions: {parse: []}}') curl -s -X POST \ -H "Authorization: Bot $BOT_TOKEN" \