Skip to content

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

Create push_events_to_discord.yml

John Guand2e0695d73bc
diff --git a/.github/workflows/push_events_to_discord.yml b/.github/workflows/push_events_to_discord.yml
new file mode 100644
index 0000000..ed9cb17
--- /dev/null
+++ b/.github/workflows/push_events_to_discord.yml
@@ -0,0 +1,16 @@
+name: Push Events to Discord
+
+on:
+ issues:
+ types:
+ - opened
+
+jobs:
+ push-events:
+ runs-on: ubuntu-latest
+ steps:
+ - name: App Request Events
+ 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 }}