Update pr-merge.yaml

This commit is contained in:
netmindz 2025-06-14 19:04:25 +00:00 committed by GitHub
parent 2a0e78c656
commit 201d04910a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
name: Notify Discord on PR Merge name: Notify Discord on PR Merge
on: on:
workflow_dispatch:
pull_request: pull_request:
types: [closed] types: [closed]
@ -13,4 +14,4 @@
DISCORD_WEBHOOK_BETA_TESTERS: ${{ secrets.DISCORD_WEBHOOK_BETA_TESTERS }} DISCORD_WEBHOOK_BETA_TESTERS: ${{ secrets.DISCORD_WEBHOOK_BETA_TESTERS }}
if: github.event.pull_request.merged == true if: github.event.pull_request.merged == true
run: | run: |
curl -H "Content-Type: application/json" -d '{"content": "Pull Request #{{ github.event.pull_request.number }} merged by {{ github.actor }}"}' $DISCORD_WEBHOOK_BETA_TESTERS curl -H "Content-Type: application/json" -d '{"content": "Pull Request ${{ github.event.pull_request.number }} merged by ${{ github.actor }}"}' $DISCORD_WEBHOOK_BETA_TESTERS