Skip to content

Commit 1bf031f

Browse files
Update Security-Notification.yml
Add condition to prevent errors appearing for every PR
1 parent 7f9b080 commit 1bf031f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/Security-Notification.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
notify_slack_on_alert:
1010
runs-on: ubuntu-latest
11+
if: github.event_name == 'dependabot_alert'
1112
steps:
1213
- name: Send Slack Notification via Direct Curl Payload
1314
run: |

0 commit comments

Comments
 (0)