Explorar o código

Create push_events_to_discord.yml

John Guan %!s(int64=3) %!d(string=hai) anos
pai
achega
d2e0695d73
Modificáronse 1 ficheiros con 16 adicións e 0 borrados
  1. 16 0
      .github/workflows/push_events_to_discord.yml

+ 16 - 0
.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/forward-event-action@v3.0.0
+        with:
+          webhook: ${{ secrets.Discord_CasaOS_App_Request_Webhook }}