Skip to content

Commit b9142ee

Browse files
Update Security-Notification.yml
1 parent 92b4a9e commit b9142ee

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/Security-Notification.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
env:
1616
# Use a PAT instead of the default token
1717
GH_TOKEN: ${{ secrets.DEPENDABOT_PAT }}
18-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
18+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK}}
1919
run: |
2020
echo "--- TEST MODE ACTIVE ---"
2121
echo "Fetching ALL alerts (Open, Fixed, Dismissed) to verify Slack connection..."
@@ -52,7 +52,6 @@ jobs:
5252
STATE=$(echo "$ALERTS" | jq -r '.[0] | .state')
5353
5454
REPO_NAME="${{ github.repository }}"
55-
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
5655
5756
ISSUE_TITLE=$(echo "$ALERTS" | jq -r '.[0] | .dependency.package.name + " (" + .security_advisory.severity + ")"')
5857
ISSUE_USER="Dependabot"
@@ -82,4 +81,4 @@ jobs:
8281
curl -X POST \
8382
-H 'Content-type: application/json' \
8483
--data "$SLACK_PAYLOAD" \
85-
"$SLACK_WEBHOOK"
84+
"$SLACK_WEBHOOK_URL"

0 commit comments

Comments
 (0)