From 6c7a3d34c052375304f4e38163584915f273f15c Mon Sep 17 00:00:00 2001 From: Josef Schmid <51161233+JGStyle@users.noreply.github.com> Date: Sun, 28 Jun 2026 10:39:16 +0200 Subject: [PATCH] add discord noticiation workflow --- .github/workflows/discord-notifications.yml | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/discord-notifications.yml diff --git a/.github/workflows/discord-notifications.yml b/.github/workflows/discord-notifications.yml new file mode 100644 index 0000000..829a622 --- /dev/null +++ b/.github/workflows/discord-notifications.yml @@ -0,0 +1,28 @@ +name: Discord PR Notification + +on: + pull_request: + types: [labeled] + +permissions: + contents: read + +jobs: + notify: + if: github.event.label.name == 'schau mi o' + runs-on: ubuntu-latest + steps: + - name: Send Discord Notification + uses: appleboy/discord-action@v1.2.0 + with: + webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} + webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} + username: "PROMPT Review Bot" + avatar_url: "https://prompt.aet.cit.tum.de/img/prompt_logo.svg" + message: | + 🚀 **New Review Request!** + + **PR:** [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) + **Author:** ${{ github.event.pull_request.user.login }} + + @Maintainers, please have a look! (schau mi o! 😉)