From 18f2521754f30c3ecf0dc5a41c138c4e267a9eb5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 05:54:38 +0000 Subject: [PATCH 1/2] Initial plan From b177f8d347a076dbe35f93d00dfc46fe8d1a8ca9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 05:55:20 +0000 Subject: [PATCH 2/2] Add telegram-test.yaml workflow for testing Telegram notifications Co-authored-by: John-Chan <2360910+John-Chan@users.noreply.github.com> --- .github/workflows/telegram-test.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/telegram-test.yaml diff --git a/.github/workflows/telegram-test.yaml b/.github/workflows/telegram-test.yaml new file mode 100644 index 0000000..a50d0b5 --- /dev/null +++ b/.github/workflows/telegram-test.yaml @@ -0,0 +1,23 @@ +name: Telegram Notification Test + +on: + workflow_dispatch: + +jobs: + telegram-test: + runs-on: ubuntu-latest + env: + TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} + TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} + steps: + - name: Send Telegram test message + if: ${{ env.TELEGRAM_BOT_TOKEN != '' && env.TELEGRAM_CHAT_ID != '' }} + run: | + curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \ + -d chat_id="${TELEGRAM_CHAT_ID}" \ + -d text="[TEST] Telegram notification test +Repository: ${{ github.repository }} +Workflow: ${{ github.workflow }} +Run ID: ${{ github.run_id }} +Triggered by: ${{ github.actor }} +Timestamp: $(date -u '+%Y-%m-%d %H:%M:%S UTC')"