mirror of
				https://github.com/ludeeus/action-shellcheck.git
				synced 2025-11-03 19:38:34 +01:00 
			
		
		
		
	Add ignore multiple dirs example (#33)
This commit is contained in:
		@@ -42,7 +42,8 @@ You can use the `ignore` input to disable specific directories.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
```text
 | 
					```text
 | 
				
			||||||
sample structure:
 | 
					sample structure:
 | 
				
			||||||
sample/directory/with/files/toignore/test.sh
 | 
					sample/directory/with/files/ignoreme/test.sh
 | 
				
			||||||
 | 
					sample/directory/with/files/ignoremetoo/test.sh
 | 
				
			||||||
sample/directory/with/files/test.sh
 | 
					sample/directory/with/files/test.sh
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -53,10 +54,10 @@ example:
 | 
				
			|||||||
    - name: Run ShellCheck
 | 
					    - name: Run ShellCheck
 | 
				
			||||||
      uses: ludeeus/action-shellcheck@master
 | 
					      uses: ludeeus/action-shellcheck@master
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        ignore: toignore
 | 
					        ignore: ignoreme ignoremetoo
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This will skip `sample/directory/with/files/toignore/test.sh`
 | 
					This will skip `sample/directory/with/files/ignoreme/test.sh` and `sample/directory/with/files/ignoremetoo/test.sh`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Minimum severity of errors to consider (error, warning, info, style)
 | 
					## Minimum severity of errors to consider (error, warning, info, style)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -124,4 +125,4 @@ by setting `disable_matcher` to `true`.
 | 
				
			|||||||
     uses: ludeeus/action-shellcheck@master
 | 
					     uses: ludeeus/action-shellcheck@master
 | 
				
			||||||
     with:
 | 
					     with:
 | 
				
			||||||
       disable_matcher: true
 | 
					       disable_matcher: true
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user