File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ jobs:
44
44
echo "SUMMARY=$summary" >> "$GITHUB_ENV"
45
45
- name : Send Slack Notification
46
46
if : success()
47
- uses : slackapi/slack-github-action@v2.0 .0
47
+ uses : slackapi/slack-github-action@v2.1 .0
48
48
env :
49
49
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
50
50
with :
51
51
channel-id : C010XR15VHU
52
52
slack-message : " ${{ env.SUMMARY }}"
53
53
- name : Send Failure notification
54
54
if : failure()
55
- uses : slackapi/slack-github-action@v2.0 .0
55
+ uses : slackapi/slack-github-action@v2.1 .0
56
56
env :
57
57
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
58
58
with :
@@ -146,15 +146,15 @@ jobs:
146
146
fi
147
147
- name : Send Slack Notification if Scan Ran Successfully
148
148
if : steps.cve-summary.outputs.summary != ''
149
- uses : slackapi/slack-github-action@v2.0 .0
149
+ uses : slackapi/slack-github-action@v2.1 .0
150
150
with :
151
151
slack-message : " New CVEs found! Check https://github.com/carvel-dev/kapp-controller/security/code-scanning for details \n ${{ steps.cve-summary.outputs.summary }}"
152
152
channel-id : C010XR15VHU
153
153
env :
154
154
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
155
155
- name : Send Failure notification
156
156
if : failure()
157
- uses : slackapi/slack-github-action@v2.0 .0
157
+ uses : slackapi/slack-github-action@v2.1 .0
158
158
env :
159
159
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
160
160
with :
You can’t perform that action at this time.
0 commit comments