| Philip Zeyliger | 9e3c867 | 2025-05-27 17:09:14 +0000 | [diff] [blame] | 1 | name: Discord Notification |
| 2 | on: | ||||
| 3 | push: | ||||
| 4 | branches: | ||||
| 5 | - main | ||||
| 6 | |||||
| 7 | permissions: read-all | ||||
| 8 | |||||
| 9 | jobs: | ||||
| 10 | notify-discord: | ||||
| 11 | runs-on: ubuntu-latest | ||||
| 12 | steps: | ||||
| 13 | - uses: actions/checkout@v4 | ||||
| 14 | with: | ||||
| 15 | fetch-depth: 2 | ||||
| 16 | |||||
| 17 | - name: Send Discord notification | ||||
| 18 | env: | ||||
| 19 | DISCORD_WEBHOOK_FOR_COMMITS: ${{ secrets.DISCORD_WEBHOOK_FOR_COMMITS }} | ||||
| 20 | run: python3 .github/scripts/discord_notify.py | ||||