add success notify
All checks were successful
CI-pipeline / linters (push) Successful in 37s

This commit is contained in:
Basyrov Rustam
2025-06-05 23:16:41 +03:00
parent 504a9b7769
commit 9ab643bfbf

View File

@@ -36,7 +36,8 @@ jobs:
to: ${{ secrets.TELEGRAM_TO }} to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }} token: ${{ secrets.TELEGRAM_TOKEN }}
message: | message: |
${{ github.actor }} created commit: PyTest failed
Commit message: ${{ github.event.commits[0].message }} Commit message: ${{ github.event.commits[0].message }}
Repository: ${{ github.repository }} Repository: ${{ github.repository }}
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
@@ -57,3 +58,14 @@ jobs:
readme-path: README.md readme-path: README.md
python-version: 3.11 # python version which will lint the package 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}}