Skip to content

Commit 5e758d6

Browse files
Update Security-Notification.yml
Update SLACK_WEBHOOK
1 parent 6e2640e commit 5e758d6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/Security-Notification.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ on:
1717
required: true
1818
default: 'created'
1919

20-
# NOTE: The SLACK_WEBHOOK_URL secret must be defined in repository settings.
21-
2220
jobs:
2321
notify_slack_on_alert:
2422
# if: github.event.action == 'created' || github.event.action == 'reopened'
@@ -43,7 +41,7 @@ jobs:
4341
curl -X POST \
4442
-H 'Content-type: application/json' \
4543
--data "$SLACK_PAYLOAD" \
46-
${{ secrets.SLACK_WEBHOOK_URL }}
44+
${{ secrets.SLACK_WEBHOOK }}
4745
env:
4846
# jq is a required tool for this method, but is pre-installed on GitHub runners.
4947
JQ_VERSION: 1.6

0 commit comments

Comments
 (0)