Compare commits
	
		
			1 Commits
		
	
	
		
			main
			...
			b740a4e483
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						b740a4e483
	
				 | 
					
					
						
							
								
								
									
										9
									
								
								.github/workflows/shellcheck-check.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/shellcheck-check.yaml
									
									
									
									
										vendored
									
									
								
							@@ -24,5 +24,10 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
      - name: ShellCheck check
 | 
			
		||||
        # https://www.shellcheck.net/wiki/Recursiveness
 | 
			
		||||
        run: find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
 | 
			
		||||
        run: |
 | 
			
		||||
          if find . -type f -name "*.sh" -print0 | grep -qz .; then
 | 
			
		||||
            find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
 | 
			
		||||
            exit 0
 | 
			
		||||
          else
 | 
			
		||||
            echo "No shell scripts found. Skipping ShellCheck."
 | 
			
		||||
          fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user