From 626c9b9a7260fd72e438b6b4bad500a51f09c60b Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Wed, 30 Oct 2024 22:47:38 +0800 Subject: [PATCH] Create telegram-push.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 创建TG通知推送Action Signed-off-by: Kevin Zhang --- .github/workflows/telegram-push.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/telegram-push.yml diff --git a/.github/workflows/telegram-push.yml b/.github/workflows/telegram-push.yml new file mode 100644 index 0000000..c3282bc --- /dev/null +++ b/.github/workflows/telegram-push.yml @@ -0,0 +1,20 @@ +name: Telegram Notification Push + +on: + push + +jobs: + bulid: + name: Build + runs-on: ubuntu-latest + steps: + - name: send message on push + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.GROUP_ID }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + ${{ github.actor }} created commit: + Commit message: ${{ github.event.commits[0].message }} + + https://github.com/${{ github.repository }}/commit/${{github.sha}}