File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -81,27 +81,21 @@ jobs:
8181          # Uses the keyless signing flow with Github Actions as identity provider 
8282          cosign sign -y "$MANIFEST_LIST_NAME@$DIGEST" 
8383
84- #  gh workflow run ubi-rust-builder.yml --ref slack-notifications
8584notify :
85+     name : Failure Notification 
8686    needs : [build, create_manifest] 
8787    runs-on : ubuntu-latest 
8888    if : failure() 
8989    steps :
90-       - name : Determine success/failure 
91-         shell : bash 
92-         run : | 
93-           set -euo pipefail 
94-           # todo 
95- id : deployment_message 
96- 90+       - uses : slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0  #  v1.27.0
9791        with :
98-           channel-id : " C07UG7RS44X" 
92+           channel-id : " C07UG7RS44X"   #  notifications-container-images-testing 
9993          payload : | 
10094            { 
101-               "text": "Workflow failed", 
95+               "text": "Workflow failed for ${{ github.workflow }} ", 
10296              "attachments": [ 
10397                { 
104-                   "pretext": "Holy moly ", 
98+                   "pretext": "See the details below for a summary of which job(s) failed. ", 
10599                  "color": "#aa0000", 
106100                  "fields": [ 
107101                    { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments