File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 2424          fetch-depth : 0 
2525
2626      - name : Check CHANGELOG 
27-         continue-on-error :  true 
27+         if :  always() 
2828        run : | 
2929          # Check if PR is from workflows bot or dependabot 
3030          if [[ "${{ github.event.pull_request.user.login }}" == "aws-application-signals-bot" ]]; then 
5454          exit 1 
5555
5656name : Check for versioned GitHub actions 
57-         continue-on-error :  true 
57+         if :  always() 
5858        run : | 
5959          # Get changed GitHub workflow/action files 
6060          CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}..HEAD | grep -E "^\.github/(workflows|actions)/.*\.ya?ml$" || true) 
7171           
7272          echo "No versioned actions found in changed files" 
7373
74- name : Fail if any of the above checks failed 
75-         if : failure() 
76-         run : exit 1 
77- 
7874build :
7975    runs-on : ubuntu-latest 
8076    strategy :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments