From 6f825088d535ada166cf9054928241b027ff6d03 Mon Sep 17 00:00:00 2001 From: Marta Kozak <51427243+iammarta@users.noreply.github.com> Date: Thu, 8 Jan 2026 20:26:36 +0200 Subject: [PATCH] Add GitHub Action for Discord PR notifications --- .github/workflows/discord-pr.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/discord-pr.yml diff --git a/.github/workflows/discord-pr.yml b/.github/workflows/discord-pr.yml new file mode 100644 index 0000000..a3ef1be --- /dev/null +++ b/.github/workflows/discord-pr.yml @@ -0,0 +1,20 @@ +name: Discord PR Notifications + +on: + pull_request: + types: [opened] + +jobs: + notify-discord: + runs-on: ubuntu-latest + steps: + - name: Send PR notification to Discord + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + uses: Ilshidur/action-discord@master + with: + args: | + 📣 New Pull Request! + #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }} + Opened by: ${{ github.event.pull_request.user.login }} + URL: ${{ github.event.pull_request.html_url }}