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