ci: update Differential ShellCheck
Run on pushes and drop unnecessary write access. Should avoid pull-requests comments like https://github.com/shadow-maint/shadow/pull/695#issuecomment-1491876950
This commit is contained in:
		
				
					committed by
					
						 Iker Pedrosa
						Iker Pedrosa
					
				
			
			
				
	
			
			
			
						parent
						
							e5905c4b84
						
					
				
				
					commit
					189a01f7a7
				
			
							
								
								
									
										2
									
								
								.github/workflows/static-code-analysis.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/static-code-analysis.yml
									
									
									
									
										vendored
									
									
								
							| @@ -38,13 +38,11 @@ jobs: | ||||
|       uses: github/codeql-action/analyze@v2 | ||||
|  | ||||
|   differential-shellcheck: | ||||
|     if: github.event_name == 'pull_request' | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     permissions: | ||||
|       contents: read | ||||
|       security-events: write | ||||
|       pull-requests: write | ||||
|  | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|   | ||||
		Reference in New Issue
	
	Block a user