From c063f3082b673295699fbb81e09516f29fe9e3f6 Mon Sep 17 00:00:00 2001 From: figeral Date: Mon, 1 Apr 2024 10:57:57 +0100 Subject: [PATCH] lunching telegram actions --- .github/workflows/source/index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/source/index.py b/.github/workflows/source/index.py index e60c807..0fbe7eb 100644 --- a/.github/workflows/source/index.py +++ b/.github/workflows/source/index.py @@ -2,10 +2,10 @@ def send_mgs(): - token = "bot${{secrets.TELEGRAM_BOT_TOKEN}}" + token = "bot6544277286:AAHSPQdHgM8YIKVQM0fGJzXXN04iudE3pNg" url = f"https://api.telegram.org/{token}/sendMessage" - user_id = ${{secrets.FITZ_ID}} - msg = "A ${{github.event.type}} made by ${{github.event.author}} , fille free to edit it at ${{github.repository.html_url}}" + user_id = 5429946779 + msg = "A ${{github.event.type}} made by ${{github.event.sender.login}} , fille free to edit it at ${{github.repository.html_url}}" payload = dict(chat_id=user_id, text=msg) requests.post(url=url, params=payload)