mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 08:46:34 +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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user