Skip to content

Commit f351155

Browse files
Tanishq RupaalTanishq Rupaal
authored andcommitted
notification fix [no ci]
1 parent 2367908 commit f351155

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/notifications.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ on:
99
workflow_run:
1010
workflows: ["Docker Publish", "Build Binary"]
1111
types: [completed]
12-
pull_request:
12+
pull_request_target:
1313
types: [opened, closed, edited, review_requested]
14-
pull_request_review_comment:
15-
types: [created]
16-
pull_request_review:
17-
types: [submitted]
1814

1915
jobs:
2016
weekly-summary:
@@ -51,7 +47,7 @@ jobs:
5147
-d "{\"content\": \"*Workflow run for **${{ github.repository }}***\n${{ github.event.workflow_run.name }} - ${{ github.event.workflow_run.conclusion }}\"}" ${{ secrets.DISCORD_WEBHOOK }}
5248
5349
pull-request-notification:
54-
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_review_comment' || github.event_name == 'pull_request_review'
50+
if: github.event_name == 'pull_request_target'
5551
runs-on: ubuntu-latest
5652
steps:
5753
- name: Notify on PR related activities

0 commit comments

Comments
 (0)