We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92b4a9e commit b9142eeCopy full SHA for b9142ee
1 file changed
.github/workflows/Security-Notification.yml
@@ -15,7 +15,7 @@ jobs:
15
env:
16
# Use a PAT instead of the default token
17
GH_TOKEN: ${{ secrets.DEPENDABOT_PAT }}
18
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK}}
19
run: |
20
echo "--- TEST MODE ACTIVE ---"
21
echo "Fetching ALL alerts (Open, Fixed, Dismissed) to verify Slack connection..."
@@ -52,7 +52,6 @@ jobs:
52
STATE=$(echo "$ALERTS" | jq -r '.[0] | .state')
53
54
REPO_NAME="${{ github.repository }}"
55
- SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
56
57
ISSUE_TITLE=$(echo "$ALERTS" | jq -r '.[0] | .dependency.package.name + " (" + .security_advisory.severity + ")"')
58
ISSUE_USER="Dependabot"
@@ -82,4 +81,4 @@ jobs:
82
81
curl -X POST \
83
-H 'Content-type: application/json' \
84
--data "$SLACK_PAYLOAD" \
85
- "$SLACK_WEBHOOK"
+ "$SLACK_WEBHOOK_URL"
0 commit comments