Skip to content

Commit 201d049

Browse files
authored
Update pr-merge.yaml
1 parent 2a0e78c commit 201d049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr-merge.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Notify Discord on PR Merge
22
on:
3+
workflow_dispatch:
34
pull_request:
45
types: [closed]
56

@@ -13,4 +14,4 @@
1314
DISCORD_WEBHOOK_BETA_TESTERS: ${{ secrets.DISCORD_WEBHOOK_BETA_TESTERS }}
1415
if: github.event.pull_request.merged == true
1516
run: |
16-
curl -H "Content-Type: application/json" -d '{"content": "Pull Request #{{ github.event.pull_request.number }} merged by {{ github.actor }}"}' $DISCORD_WEBHOOK_BETA_TESTERS
17+
curl -H "Content-Type: application/json" -d '{"content": "Pull Request ${{ github.event.pull_request.number }} merged by ${{ github.actor }}"}' $DISCORD_WEBHOOK_BETA_TESTERS

0 commit comments

Comments
 (0)