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:
4444          echo "SUMMARY=$summary" >> "$GITHUB_ENV" 
4545name : Send Slack Notification 
4646        if : success() 
47-         uses : slackapi/slack-github-action@v1.23 .0 
47+         uses : slackapi/slack-github-action@v2.0 .0 
4848        env :
4949          SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }} 
5050        with :
5151          channel-id : C010XR15VHU 
5252          slack-message : " ${{ env.SUMMARY }}" 
5353      - name : Send Failure notification 
5454        if : failure() 
55-         uses : slackapi/slack-github-action@v1.23 .0 
55+         uses : slackapi/slack-github-action@v2.0 .0 
5656        env :
5757          SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }} 
5858        with :
@@ -146,15 +146,15 @@ jobs:
146146          fi 
147147name : Send Slack Notification if Scan Ran Successfully 
148148        if : steps.cve-summary.outputs.summary != '' 
149-         uses : slackapi/slack-github-action@v1.23 .0 
149+         uses : slackapi/slack-github-action@v2.0 .0 
150150        with :
151151          slack-message : " New CVEs found! Check https://github.com/carvel-dev/kapp-controller/security/code-scanning for details \n  ${{ steps.cve-summary.outputs.summary }}" 
152152          channel-id : C010XR15VHU 
153153        env :
154154          SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }} 
155155      - name : Send Failure notification 
156156        if : failure() 
157-         uses : slackapi/slack-github-action@v1.23 .0 
157+         uses : slackapi/slack-github-action@v2.0 .0 
158158        env :
159159          SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }} 
160160        with :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments