Skip to content

Commit

Permalink
lunching telegram actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Figeral committed Apr 1, 2024
1 parent c063f30 commit 81ed868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/source/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def send_mgs():
token = "bot6544277286:AAHSPQdHgM8YIKVQM0fGJzXXN04iudE3pNg"
url = f"https://api.telegram.org/{token}/sendMessage"
user_id = 5429946779
msg = "A ${{github.event.type}} made by ${{github.event.sender.login}} , fille free to edit it at ${{github.repository.html_url}}"
msg = f"A {github.event.type} made by {github.event.sender.login} , feel free to edit it at {github.repository.html_url}"
payload = dict(chat_id=user_id, text=msg)
requests.post(url=url, params=payload)

Expand Down

0 comments on commit 81ed868

Please sign in to comment.