From d2e0695d73bcbddd2312d65fe2a80303841b17ec Mon Sep 17 00:00:00 2001 From: John Guan Date: Mon, 8 Aug 2022 15:40:05 +0800 Subject: [PATCH] Create push_events_to_discord.yml --- .github/workflows/push_events_to_discord.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/push_events_to_discord.yml 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/forward-event-action@v3.0.0 + with: + webhook: ${{ secrets.Discord_CasaOS_App_Request_Webhook }}