mirror of
				https://github.com/Burnett01/rsync-deployments.git
				synced 2025-11-04 09:29:04 +01:00 
			
		
		
		
	fix: snyk-docker-vulnerability-scan sarif
See https://github.com/github/codeql-action/issues/2187#issuecomment-2043220400
This commit is contained in:
		
							parent
							
								
									7e729bf4dd
								
							
						
					
					
						commit
						96abc27e05
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -33,7 +33,8 @@ jobs:
 | 
			
		|||
    - name: Output sarif file
 | 
			
		||||
      run: cat snyk.sarif
 | 
			
		||||
    - name: fix security-severity "null" to "0" for valid sarif format
 | 
			
		||||
      run: sed -i 's/"security-severity": "null"/"security-severity": "0"/g' snyk.sarif
 | 
			
		||||
      run: |
 | 
			
		||||
        sed -i 's/"security-severity": "null"/"security-severity": "0"/g' snyk.sarif
 | 
			
		||||
    - name: Upload result to GitHub Code Scanning
 | 
			
		||||
      uses: github/codeql-action/upload-sarif@v4
 | 
			
		||||
      with:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue