This commit is contained in:
Your Name
2023-11-18 16:17:24 +02:00
parent 1102fcd78b
commit 08f28bbc80
6 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
on:
issues:
types: [opened, edited, reopened]
issue_comment:
types: [created, edited]
jobs:
send_telegram_message:
name: send telegram message
runs-on: ubuntu-latest
steps:
- name: send telegram message
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
Gitea. Creating new issue
Author: ${{ gitea.actor }}
Repository: ${{ gitea.repository }}
See changes: https://gitea.com/${{ gitea.repository }}/issues/${{ gitea.event.issue.number }}