From 521eb798802ec9143999afd849e1814c6eb1d87d Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 26 Jun 2024 14:49:23 -0500 Subject: [PATCH] feat: bot dc --- .github/workflows/motify-discord-needsqaurgent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/motify-discord-needsqaurgent.yml b/.github/workflows/motify-discord-needsqaurgent.yml index fe8ecbc6..bc5bf6bb 100644 --- a/.github/workflows/motify-discord-needsqaurgent.yml +++ b/.github/workflows/motify-discord-needsqaurgent.yml @@ -6,7 +6,7 @@ on: jobs: notify-discord: - if: ${{ contains(github.event.pull_request.labels.*.name, 'needs-qa-urgent') }} + if: ${{ github.event.action == 'opened' && contains(github.event.pull_request.labels.*.name, 'needs-qa-urgent') || github.event.action == 'labeled' && github.event.label.name == 'needs-qa-urgent' }} runs-on: ubuntu-latest steps: