File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 9595    steps :
9696      - name : Checkout source code 
9797        uses : actions/checkout@v4 
98+       - name : GHAS not enabled warning 
99+         if : ${{ !github.event.repository.security_and_analysis.advanced_security_enabled && github.event.repository.private }} 
100+         run : | 
101+           echo "Warning: GitHub Advanced Security is not enabled. Please enable it to upload SARIF results." 
102+ name : GHAS enabled notice 
103+         if : ${{ github.event.repository.security_and_analysis.advanced_security_enabled || !github.event.repository.private }} 
104+         run : | 
105+           echo "GitHub Advanced Security is enabled. SARIF results will be uploaded to the Security tab on the main branch." 
98106name : Run Trivy vulnerability scanner 
99107        uses : 
aquasecurity/[email protected]   100108        with :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments