From a24e8db430d9fb814882fadb38cdd5cdf034a51b Mon Sep 17 00:00:00 2001 From: Istarengwa <44943929+istarengwa@users.noreply.github.com> Date: Sun, 20 Jul 2025 22:26:48 +0200 Subject: [PATCH] Notify Discord on PR merge to master --- .github/workflows/notify-discord.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/notify-discord.yml b/.github/workflows/notify-discord.yml index 2b84029..5fb5002 100644 --- a/.github/workflows/notify-discord.yml +++ b/.github/workflows/notify-discord.yml @@ -2,10 +2,11 @@ name: Discord Pull Request Notification on: pull_request: - types: [opened] + types: [closed] jobs: notify: + if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'master' runs-on: ubuntu-latest steps: - name: Send message to Discord