From 9ab643bfbfd3da563065cd6d7fbf4d520c1824fc Mon Sep 17 00:00:00 2001 From: Basyrov Rustam Date: Thu, 5 Jun 2025 23:16:41 +0300 Subject: [PATCH] add success notify --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d63a14..36b47a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,8 @@ jobs: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} message: | - ${{ github.actor }} created commit: + PyTest failed + Commit message: ${{ github.event.commits[0].message }} Repository: ${{ github.repository }} See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} @@ -57,3 +58,14 @@ jobs: readme-path: README.md python-version: 3.11 # python version which will lint the package + - name: Notify in telegram about success + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_TO }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + PyTest successed + + Commit message: ${{ github.event.commits[0].message }} + Repository: ${{ github.repository }} + See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}