Selaa lähdekoodia

Update push_events_to_discord.yml

John Guan 2 vuotta sitten
vanhempi
commit
fc5e351f0b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      .github/workflows/push_events_to_discord.yml

+ 1 - 1
.github/workflows/push_events_to_discord.yml

@@ -24,7 +24,7 @@ jobs:
     steps:
     steps:
       
       
       - name: General Discussions & Comments
       - 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
         uses: joseph-montanez/forward-event-action@v3.0.0
         with:
         with:
           webhook: ${{ secrets.Discord_CasaOS_General_Webhook }}
           webhook: ${{ secrets.Discord_CasaOS_General_Webhook }}