We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e2640e commit 5e758d6Copy full SHA for 5e758d6
1 file changed
.github/workflows/Security-Notification.yml
@@ -17,8 +17,6 @@ on:
17
required: true
18
default: 'created'
19
20
-# NOTE: The SLACK_WEBHOOK_URL secret must be defined in repository settings.
21
-
22
jobs:
23
notify_slack_on_alert:
24
# if: github.event.action == 'created' || github.event.action == 'reopened'
@@ -43,7 +41,7 @@ jobs:
43
41
curl -X POST \
44
42
-H 'Content-type: application/json' \
45
--data "$SLACK_PAYLOAD" \
46
- ${{ secrets.SLACK_WEBHOOK_URL }}
+ ${{ secrets.SLACK_WEBHOOK }}
47
env:
48
# jq is a required tool for this method, but is pre-installed on GitHub runners.
49
JQ_VERSION: 1.6
0 commit comments