This commit is contained in:
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user