mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 16:56:35 +00:00
Update pr-merge.yaml
This commit is contained in:
parent
2a0e78c656
commit
201d04910a
3
.github/workflows/pr-merge.yaml
vendored
3
.github/workflows/pr-merge.yaml
vendored
@ -1,5 +1,6 @@
|
||||
name: Notify Discord on PR Merge
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: [closed]
|
||||
|
||||
@ -13,4 +14,4 @@
|
||||
DISCORD_WEBHOOK_BETA_TESTERS: ${{ secrets.DISCORD_WEBHOOK_BETA_TESTERS }}
|
||||
if: github.event.pull_request.merged == true
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user