From 4070b347e45dfebe75f853b9899c3e0a91b5f29e Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Thu, 1 Jan 2026 12:31:52 +0530 Subject: [PATCH 01/17] chore: message type detection in release notes script --- utils/scripts/generate-release-notes.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/utils/scripts/generate-release-notes.js b/utils/scripts/generate-release-notes.js index cb0c7a4a8..c2927f625 100644 --- a/utils/scripts/generate-release-notes.js +++ b/utils/scripts/generate-release-notes.js @@ -118,11 +118,16 @@ function categorizeCommits(commits, { mergeOnly, importantOnly }) { if (mergeOnly && !isMerge) continue; const type = - Object.keys(sections).find( - (k) => - msg.toLowerCase().startsWith(`${k}:`) || - msg.toLowerCase().startsWith(`${k} `), - ) || "other"; + Object.keys(sections).find((k) => { + const lowerMsg = msg.toLowerCase(); + return ( + lowerMsg.startsWith(`${k}:`) || + lowerMsg.startsWith(`${k} `) || + lowerMsg.startsWith(`${k}(`) || + lowerMsg.startsWith(`${k}: `) || + lowerMsg.startsWith(`${k}(`) // handles e.g. 'feat(plugin-api): ...' + ); + }) || "other"; if ( importantOnly && From f37982c8c34381ce9d69ea9bb7a09e16c0731bf1 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Thu, 1 Jan 2026 12:34:57 +0530 Subject: [PATCH 02/17] Remove redundant check for message prefix --- utils/scripts/generate-release-notes.js | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/scripts/generate-release-notes.js b/utils/scripts/generate-release-notes.js index c2927f625..8dcb6e61c 100644 --- a/utils/scripts/generate-release-notes.js +++ b/utils/scripts/generate-release-notes.js @@ -123,7 +123,6 @@ function categorizeCommits(commits, { mergeOnly, importantOnly }) { return ( lowerMsg.startsWith(`${k}:`) || lowerMsg.startsWith(`${k} `) || - lowerMsg.startsWith(`${k}(`) || lowerMsg.startsWith(`${k}: `) || lowerMsg.startsWith(`${k}(`) // handles e.g. 'feat(plugin-api): ...' ); From 6304f5a6c49b57df17c24dff52e8df4774cd3c2d Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 12:32:30 +0530 Subject: [PATCH 03/17] update: community-release-notifier with Telegram support Updated community release notifier workflow to include Telegram notifications and improved variable handling. --- .../workflows/community-release-notifier.yml | 115 +++++++++++++----- 1 file changed, 86 insertions(+), 29 deletions(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index cc91e9ae0..e8c05ec7d 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -1,44 +1,101 @@ name: community-release-notifier + on: release: types: [ released ] workflow_call: inputs: - tag_name: - required: true - description: "Release tag_name" - type: 'string' - url: - required: true - description: "release URL" - type: 'string' - body: - required: true - description: "Release Body" - type: 'string' - default: '' + tag_name: + required: true + description: "Release tag_name" + type: 'string' + url: + required: true + description: "release URL" + type: 'string' + body: + required: true + description: "Release Body" + type: 'string' + default: '' secrets: DISCORD_WEBHOOK_RELEASE_NOTES: description: 'Discord Webhook for Notifying Releases to Discord' required: true + TELEGRAM_BOT_TOKEN: + description: 'Telegram Bot Token' + required: true + TELEGRAM_CHAT_ID: + description: 'Telegram Chat ID (group/channel/supergroup)' + required: true + TELEGRAM_MESSAGE_THREAD_ID: + description: 'Optional: Topic / message_thread_id for Telegram forum/topic' + required: false jobs: - discord-release: + notify: if: github.repository_owner == 'Acode-Foundation' runs-on: ubuntu-latest steps: - - name: Get Release Content - id: get-release-content - uses: 2428392/gh-truncate-string-action@b3ff790d21cf42af3ca7579146eedb93c8fb0757 # v1.4.1 - with: - maxLength: 2000 - stringToTruncate: | - πŸ“’ Acode [${{ github.event.release.tag_name || inputs.tag_name }}](<${{ github.event.release.url || inputs.url }}>) was just Released πŸŽ‰! - - ${{ github.event.release.body || inputs.body }} - - - name: Discord Webhook Action (Publishing) - uses: tsickert/discord-webhook@c840d45a03a323fbc3f7507ac7769dbd91bfb164 # v5.3.0 - with: - webhook-url: ${{ secrets.DISCORD_WEBHOOK_RELEASE_NOTES }} - content: ${{ steps.get-release-content.outputs.string }} + - name: Prepare release variables + id: vars + run: | + TAG="${{ github.event.release.tag_name || inputs.tag_name }}" + URL="${{ github.event.release.url || inputs.url }}" + # Escape problematic characters for MarkdownV2 (very conservative escaping) + # We escape: _ * [ ] ( ) ~ ` > # + - = | { } . ! \ + BODY_SAFE=$(printf '%s' "${{ github.event.release.body || inputs.body }}" | \ + sed 's/[_*[\]()~`>#+-=|{}.!\\]/\\&/g') + + if [[ "$TAG" == *"-nightly"* ]]; then + SUFFIX=" (Nightly Release)" + else + SUFFIX="" + fi + + # Announcement line β€” also escape for safety + ANNOUNCE_SAFE="πŸ“’ Acode \[$TAG\]($URL) was just Released πŸŽ‰$SUFFIX!" + + echo "announce=$ANNOUNCE_SAFE" >> $GITHUB_OUTPUT + echo "body_safe=$BODY_SAFE" >> $GITHUB_OUTPUT + + # ──────────────────────────────────────────────── + # Truncate for Discord + # ──────────────────────────────────────────────── + - name: Truncate message for Discord + id: truncate-discord + uses: 2428392/gh-truncate-string-action@b3ff790d21cf42af3ca7579146eedb93c8fb0757 # v1.4.1 + with: + maxLength: 2000 + stringToTruncate: | + ${{ steps.vars.outputs.announce }} + + ${{ steps.vars.outputs.body_safe }} + + # ──────────────────────────────────────────────── + # Discord notification + # ──────────────────────────────────────────────── + - name: Discord Webhook (Publishing) + uses: tsickert/discord-webhook@c840d45a03a323fbc3f7507ac7769dbd91bfb164 # v5.3.0 + with: + webhook-url: ${{ secrets.DISCORD_WEBHOOK_RELEASE_NOTES }} + content: ${{ steps.truncate-discord.outputs.string }} + continue-on-error: true + + # ──────────────────────────────────────────────── + # Telegram notification β€” MarkdownV2 + no link preview + # ──────────────────────────────────────────────── + - name: Send to Telegram + uses: appleboy/telegram-action@v1.0.0 # or newer tag if available + with: + to: ${{ secrets.TELEGRAM_CHAT_ID }} + token: ${{ secrets.TELEGRAM_BOT_TOKEN }} + message: | + ${{ steps.vars.outputs.announce }} + + ${{ steps.vars.outputs.body_safe }} + parse_mode: MarkdownV2 + disable_web_page_preview: true + # Only needed for topic-enabled supergroups/channels + message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }} + continue-on-error: true From 7b5553fe0c9cffdfda1f9a06be07de8ae5b40d4e Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 12:35:33 +0530 Subject: [PATCH 04/17] Merge pull request #12 from UnschooledGamer/UnschooledGamer-patch-1-1 Add Telegram bot secrets to nightly-build.yml --- .github/workflows/nightly-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 87eb5e749..7e9d0423c 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -283,3 +283,6 @@ body: ${{ needs.build.outputs.RELEASE_NOTES }} secrets: DISCORD_WEBHOOK_RELEASE_NOTES: ${{ secrets.DISCORD_WEBHOOK_RELEASE_NOTES }} + TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} + TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} + TELEGRAM_MESSAGE_THREAD_ID: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }} From 800135d43eb81e494270de7667cb575cabdcaef5 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 12:37:44 +0530 Subject: [PATCH 05/17] Update Telegram action in workflow file --- .github/workflows/community-release-notifier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index e8c05ec7d..5015336bd 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -86,7 +86,7 @@ jobs: # Telegram notification β€” MarkdownV2 + no link preview # ──────────────────────────────────────────────── - name: Send to Telegram - uses: appleboy/telegram-action@v1.0.0 # or newer tag if available + uses: Salmansha08/telegram-github-action@17c9ce6b4210d2659dca29d34028b02fa29d70ad # or newer tag if available with: to: ${{ secrets.TELEGRAM_CHAT_ID }} token: ${{ secrets.TELEGRAM_BOT_TOKEN }} From 5837e13ea81170ce93f2ab7ed29651f4a235b2ec Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 12:52:46 +0530 Subject: [PATCH 06/17] Refactor release variables for safety and clarity --- .github/workflows/community-release-notifier.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index 5015336bd..1ea5ee3f2 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -39,13 +39,19 @@ jobs: steps: - name: Prepare release variables id: vars + env: + INPUT_TAG: ${{ github.event.release.tag_name || inputs.tag_name }} + INPUT_URL: ${{ github.event.release.url || inputs.url }} + INPUT_BODY: ${{ github.event.release.body || inputs.body }} run: | - TAG="${{ github.event.release.tag_name || inputs.tag_name }}" - URL="${{ github.event.release.url || inputs.url }}" + TAG="$INPUT_TAG" + URL="$INPUT_URL" # Escape problematic characters for MarkdownV2 (very conservative escaping) # We escape: _ * [ ] ( ) ~ ` > # + - = | { } . ! \ - BODY_SAFE=$(printf '%s' "${{ github.event.release.body || inputs.body }}" | \ + BODY_SAFE=$(printf '%s' "$INPUT_BODY" | \ sed 's/[_*[\]()~`>#+-=|{}.!\\]/\\&/g') + TAG_SAFE=$(printf '%s' "$TAG" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') + URL_SAFE=$(printf '%s' "$URL" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') if [[ "$TAG" == *"-nightly"* ]]; then SUFFIX=" (Nightly Release)" @@ -54,7 +60,7 @@ jobs: fi # Announcement line β€” also escape for safety - ANNOUNCE_SAFE="πŸ“’ Acode \[$TAG\]($URL) was just Released πŸŽ‰$SUFFIX!" + ANNOUNCE_SAFE="πŸ“’ Acode \[$TAG_SAFE\]($URL_SAFE) was just Released πŸŽ‰$SUFFIX!" echo "announce=$ANNOUNCE_SAFE" >> $GITHUB_OUTPUT echo "body_safe=$BODY_SAFE" >> $GITHUB_OUTPUT From c5828d625556e232ca069088227eb6c3a6110386 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:05:38 +0530 Subject: [PATCH 07/17] Update .github/workflows/community-release-notifier.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .github/workflows/community-release-notifier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index 1ea5ee3f2..4a8778997 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -49,7 +49,7 @@ jobs: # Escape problematic characters for MarkdownV2 (very conservative escaping) # We escape: _ * [ ] ( ) ~ ` > # + - = | { } . ! \ BODY_SAFE=$(printf '%s' "$INPUT_BODY" | \ - sed 's/[_*[\]()~`>#+-=|{}.!\\]/\\&/g') + sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') TAG_SAFE=$(printf '%s' "$TAG" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') URL_SAFE=$(printf '%s' "$URL" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') From 72e1f2f3ce5fab99983411f1100834557ecef878 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:06:35 +0530 Subject: [PATCH 08/17] Update .github/workflows/community-release-notifier.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .github/workflows/community-release-notifier.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index 4a8778997..948d3ae9f 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -54,13 +54,14 @@ jobs: URL_SAFE=$(printf '%s' "$URL" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') if [[ "$TAG" == *"-nightly"* ]]; then - SUFFIX=" (Nightly Release)" + if [[ "$TAG" == *"-nightly"* ]]; then + SUFFIX=" \\(Nightly Release\\)" else SUFFIX="" fi # Announcement line β€” also escape for safety - ANNOUNCE_SAFE="πŸ“’ Acode \[$TAG_SAFE\]($URL_SAFE) was just Released πŸŽ‰$SUFFIX!" + ANNOUNCE_SAFE="πŸ“’ Acode \[$TAG_SAFE\]($URL_SAFE) was just Released πŸŽ‰${SUFFIX}\\!" echo "announce=$ANNOUNCE_SAFE" >> $GITHUB_OUTPUT echo "body_safe=$BODY_SAFE" >> $GITHUB_OUTPUT From 9051f44a79f119b48099d13807b6bd9ac2cd590d Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:21:33 +0530 Subject: [PATCH 09/17] chore: enhance community release notifier with delimiter --- .github/workflows/community-release-notifier.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index 948d3ae9f..378539d8a 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -46,6 +46,10 @@ jobs: run: | TAG="$INPUT_TAG" URL="$INPUT_URL" + + # Generate a random delimiter (hex string, safe and collision-resistant) + DELIMITER=$(openssl rand -hex 16 || head -c 16 /dev/urandom | xxd -p -c 16) + # Escape problematic characters for MarkdownV2 (very conservative escaping) # We escape: _ * [ ] ( ) ~ ` > # + - = | { } . ! \ BODY_SAFE=$(printf '%s' "$INPUT_BODY" | \ @@ -64,7 +68,11 @@ jobs: ANNOUNCE_SAFE="πŸ“’ Acode \[$TAG_SAFE\]($URL_SAFE) was just Released πŸŽ‰${SUFFIX}\\!" echo "announce=$ANNOUNCE_SAFE" >> $GITHUB_OUTPUT - echo "body_safe=$BODY_SAFE" >> $GITHUB_OUTPUT + { + echo "body_safe<<$DELIMITER" + printf '%s\n' "$BODY_SAFE" + echo "$DELIMITER" + } >> $GITHUB_OUTPUT # ──────────────────────────────────────────────── # Truncate for Discord From 3c783f644ac681dda22ed159639136b46756ec75 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:28:31 +0530 Subject: [PATCH 10/17] Update .github/workflows/community-release-notifier.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .github/workflows/community-release-notifier.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index 378539d8a..45b9f1897 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -57,7 +57,6 @@ jobs: TAG_SAFE=$(printf '%s' "$TAG" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') URL_SAFE=$(printf '%s' "$URL" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') - if [[ "$TAG" == *"-nightly"* ]]; then if [[ "$TAG" == *"-nightly"* ]]; then SUFFIX=" \\(Nightly Release\\)" else From 4c397d5c1e1cd13107d55c097b2ff10a44e916e9 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:29:32 +0530 Subject: [PATCH 11/17] Update .github/workflows/community-release-notifier.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .github/workflows/community-release-notifier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index 45b9f1897..bbcf02172 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -64,7 +64,7 @@ jobs: fi # Announcement line β€” also escape for safety - ANNOUNCE_SAFE="πŸ“’ Acode \[$TAG_SAFE\]($URL_SAFE) was just Released πŸŽ‰${SUFFIX}\\!" + ANNOUNCE_SAFE="πŸ“’ Acode [$TAG_SAFE]($URL) was just Released πŸŽ‰${SUFFIX}\\!" echo "announce=$ANNOUNCE_SAFE" >> $GITHUB_OUTPUT { From 67cb0a251f967d45c0e917e7437d0c7e976d1c7a Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:35:38 +0530 Subject: [PATCH 12/17] Update .github/workflows/community-release-notifier.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .github/workflows/community-release-notifier.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index bbcf02172..a68c6ef42 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -55,7 +55,6 @@ jobs: BODY_SAFE=$(printf '%s' "$INPUT_BODY" | \ sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') TAG_SAFE=$(printf '%s' "$TAG" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') - URL_SAFE=$(printf '%s' "$URL" | sed 's/[_*[\]()~`>#+=|{}.!\\-]/\\&/g') if [[ "$TAG" == *"-nightly"* ]]; then SUFFIX=" \\(Nightly Release\\)" From 4fc3f057f95f11cc79cf67796266f3341e18086b Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 14:53:51 +0530 Subject: [PATCH 13/17] Update community-release-notifier.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mobile edits πŸ˜ΆπŸ™πŸ™ƒ --- .github/workflows/community-release-notifier.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index a68c6ef42..5590956f6 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -58,8 +58,10 @@ jobs: if [[ "$TAG" == *"-nightly"* ]]; then SUFFIX=" \\(Nightly Release\\)" + SUFFIXPLAIN=" (Nightly Release)" else SUFFIX="" + SUFFIXPLAIN="" fi # Announcement line β€” also escape for safety @@ -72,6 +74,15 @@ jobs: echo "$DELIMITER" } >> $GITHUB_OUTPUT + # Plain (MD) Announcement for Discord + ANNOUNCE_PLAIN="πŸ“’ Acode [$TAG]($URL) was just Released πŸŽ‰${SUFFIX_PLAIN}!" + echo "announce_plain=$ANNOUNCE_PLAIN" >> $GITHUB_OUTPUT + { + echo "body_plain<<$DELIMITER" + printf '%s\n' "$INPUT_BODY" + echo "$DELIMITER" + } >> $GITHUB_OUTPUT + # ──────────────────────────────────────────────── # Truncate for Discord # ──────────────────────────────────────────────── @@ -81,9 +92,9 @@ jobs: with: maxLength: 2000 stringToTruncate: | - ${{ steps.vars.outputs.announce }} + ${{ steps.vars.outputs.announce_plain }} - ${{ steps.vars.outputs.body_safe }} + ${{ steps.vars.outputs.body_plain }} # ──────────────────────────────────────────────── # Discord notification From 60e7bab3fc8b7e69ae3b0d180ac15e2ce60961f2 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 14:58:41 +0530 Subject: [PATCH 14/17] Update community-release-notifier.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Another mobile edits 😢 --- .github/workflows/community-release-notifier.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index 5590956f6..e7e379981 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -104,7 +104,6 @@ jobs: with: webhook-url: ${{ secrets.DISCORD_WEBHOOK_RELEASE_NOTES }} content: ${{ steps.truncate-discord.outputs.string }} - continue-on-error: true # ──────────────────────────────────────────────── # Telegram notification β€” MarkdownV2 + no link preview @@ -122,4 +121,3 @@ jobs: disable_web_page_preview: true # Only needed for topic-enabled supergroups/channels message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }} - continue-on-error: true From c57a86648d263b4c84b5fa15927f310bbf00f208 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 15:03:52 +0530 Subject: [PATCH 15/17] Update .github/workflows/community-release-notifier.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .github/workflows/community-release-notifier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index e7e379981..c578ce229 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -75,7 +75,7 @@ jobs: } >> $GITHUB_OUTPUT # Plain (MD) Announcement for Discord - ANNOUNCE_PLAIN="πŸ“’ Acode [$TAG]($URL) was just Released πŸŽ‰${SUFFIX_PLAIN}!" + ANNOUNCE_PLAIN="πŸ“’ Acode [$TAG]($URL) was just Released πŸŽ‰${SUFFIXPLAIN}!" echo "announce_plain=$ANNOUNCE_PLAIN" >> $GITHUB_OUTPUT { echo "body_plain<<$DELIMITER" From 6710bc582a1f865c82d9a1591e67f965e806c6fe Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 15:05:44 +0530 Subject: [PATCH 16/17] Update community-release-notifier.yml --- .github/workflows/community-release-notifier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index c578ce229..8e84a813c 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -120,4 +120,4 @@ jobs: parse_mode: MarkdownV2 disable_web_page_preview: true # Only needed for topic-enabled supergroups/channels - message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }} + message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID || "" }} From 5d852f24e8a050fefb4e0ea810600d73db9a2ad0 Mon Sep 17 00:00:00 2001 From: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com> Date: Mon, 9 Mar 2026 15:24:18 +0530 Subject: [PATCH 17/17] chore: fix telegram creds requirements --- .github/workflows/community-release-notifier.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/community-release-notifier.yml b/.github/workflows/community-release-notifier.yml index 8e84a813c..53c8f832a 100644 --- a/.github/workflows/community-release-notifier.yml +++ b/.github/workflows/community-release-notifier.yml @@ -29,8 +29,8 @@ on: description: 'Telegram Chat ID (group/channel/supergroup)' required: true TELEGRAM_MESSAGE_THREAD_ID: - description: 'Optional: Topic / message_thread_id for Telegram forum/topic' - required: false + description: 'Topic / message_thread_id for Telegram forum/topic' + required: true jobs: notify: @@ -109,6 +109,7 @@ jobs: # Telegram notification β€” MarkdownV2 + no link preview # ──────────────────────────────────────────────── - name: Send to Telegram + if: ${{ secrets.TELEGRAM_BOT_TOKEN != "" && secrets.TELEGRAM_CHAT_ID != "" && secrets.TELEGRAM_MESSAGE_THREAD_ID != "" }} uses: Salmansha08/telegram-github-action@17c9ce6b4210d2659dca29d34028b02fa29d70ad # or newer tag if available with: to: ${{ secrets.TELEGRAM_CHAT_ID }} @@ -120,4 +121,5 @@ jobs: parse_mode: MarkdownV2 disable_web_page_preview: true # Only needed for topic-enabled supergroups/channels - message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID || "" }} + message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }} + continue-on-error: true