Added new approach #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Telegram Trigger Workflow | |
| on: | |
| push: | |
| branches: [polinom] | |
| jobs: | |
| send-inline-message: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Send Inline Telegram Message | |
| uses: cbrgm/telegram-github-action@v1 | |
| with: | |
| token: ${{ secrets.TELEGRAM_TOKEN }} | |
| to: ${{ secrets.TELEGRAM_CHAT_ID }} | |
| message: | | |
| New commit by ${{ github.actor }}! | |
| Commit: ${{ github.event.head_commit.message }} | |
| Repository: ${{ github.repository }} | |
| View changes: https://github.com/${{ github.repository }}/commit/${{ github.sha }} |