chore: add merge notification #1
This file contains 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: Renovate merge notification | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
notify: | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'erhardt-consulting-bot' | ||
steps: | ||
- name: Send telegram notification | ||
if: ${{ secrets.TELEGRAM_BOT_TOKEN && secrets.TELEGRAM_CHAT_ID }} | ||
Check failure on line 12 in .github/workflows/notify-telegram.yml GitHub Actions / Renovate merge notificationInvalid workflow file
|
||
run: |- | ||
curl -s -X POST \ | ||
https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage \ | ||
-d chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \ | ||
-d text="🤖 Renovate: **${{ github.repository }}**\n\n${{ github.event.head_commit.message }}\n\n${{ github.event.head_commit.url }}" |