blob: c9e2eae65550e146e3d4c5a9d4d19c9066c34be7 [file] [log] [blame]
Philip Zeyliger9e3c8672025-05-27 17:09:14 +00001name: Discord Notification
2on:
3 push:
4 branches:
5 - main
6
7permissions: read-all
8
9jobs:
10 notify-discord:
11 runs-on: ubuntu-latest
Marc-Antoine Ruelc1399822025-06-08 17:47:50 +000012 if: github.event.repository.fork == false
Philip Zeyliger9e3c8672025-05-27 17:09:14 +000013 steps:
14 - uses: actions/checkout@v4
15 with:
Philip Zeyligercbf8c322025-07-16 15:25:39 -070016 fetch-depth: 2
Philip Zeyliger9e3c8672025-05-27 17:09:14 +000017
18 - name: Send Discord notification
19 env:
20 DISCORD_WEBHOOK_FOR_COMMITS: ${{ secrets.DISCORD_WEBHOOK_FOR_COMMITS }}
21 run: python3 .github/scripts/discord_notify.py