diff --git a/.github/workflows/pr-label-notify.yml b/.github/workflows/pr-label-notify.yml index e050803c..f1c25b92 100644 --- a/.github/workflows/pr-label-notify.yml +++ b/.github/workflows/pr-label-notify.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v4 - name: Send Discord notification for PR label - if: github.event_name == 'pull_request' && github.event.label.name == 'need_review' + if: github.event_name == 'pull_request_target' && github.event.label.name == 'need_review' env: DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} PR_NUMBER: ${{ github.event.pull_request.number }}