From fc5e351f0bc3e7a88121fc773d8137e15e940a66 Mon Sep 17 00:00:00 2001 From: John Guan Date: Wed, 10 Aug 2022 11:18:14 +0800 Subject: [PATCH] Update push_events_to_discord.yml --- .github/workflows/push_events_to_discord.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push_events_to_discord.yml b/.github/workflows/push_events_to_discord.yml index bb121b6..9fe98a1 100644 --- a/.github/workflows/push_events_to_discord.yml +++ b/.github/workflows/push_events_to_discord.yml @@ -24,7 +24,7 @@ jobs: steps: - name: General Discussions & Comments - if: ${{ ( github.event_name == 'discussion' || github.event_name == 'discussion_comment' ) && github.event.discussion.name == "General" }} + if: ${{ ( github.event_name == 'discussion' || github.event_name == 'discussion_comment' ) && github.event.discussion.category.name == 'General' }} uses: joseph-montanez/forward-event-action@v3.0.0 with: webhook: ${{ secrets.Discord_CasaOS_General_Webhook }}