diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fb5c1c..6245c03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,3 +27,16 @@ jobs: requirements-path: requirements.txt readme-path: README.md python-version: 3.11 # python version which will lint the package + - name: Notify in telegram about fail + if: ${{ failure() }} + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_TO }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + ${{ github.actor }} created commit: + Commit message: ${{ github.event.commits[0].message }} + Repository: ${{ github.repository }} + See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} + - name: Check fail + run: echo "Unreachable"