Skip to content

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

Update push_events_to_discord.yml

John Guan8b2c9486daf5
diff --git a/.github/workflows/push_events_to_discord.yml b/.github/workflows/push_events_to_discord.yml
index ed9cb17..d73fcd8 100644
--- a/.github/workflows/push_events_to_discord.yml
+++ b/.github/workflows/push_events_to_discord.yml
@@ -4,13 +4,25 @@ on:
issues:
types:
- opened
+ issue_comment:
+ types:
+ - created
jobs:
push-events:
+
runs-on: ubuntu-latest
+
steps:
- - name: App Request Events
+
+ - name: App Request Issues
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' && contains(github.event.issue.labels.*.name, 'App Request')}}
uses: joseph-montanez/[email protected]
with:
webhook: ${{ secrets.Discord_CasaOS_App_Request_Webhook }}
+
+ - name: App Request Issue Comments
+ if: ${{ github.event_name == 'issue_comment' && github.event.action == 'created' && contains(github.event.issue.labels.*.name, 'App Request')}}
+ uses: joseph-montanez/[email protected]
+ with:
+ webhook: ${{ secrets.Discord_CasaOS_App_Request_Webhook }}