Skip to content

Commit

Permalink
Add ignore multiple dirs example (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
simeg authored Dec 24, 2020
1 parent d586102 commit b247a9c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ You can use the `ignore` input to disable specific directories.

```text
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
```

Expand All @@ -53,10 +54,10 @@ example:
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
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)

Expand Down Expand Up @@ -124,4 +125,4 @@ by setting `disable_matcher` to `true`.
uses: ludeeus/action-shellcheck@master
with:
disable_matcher: true
```
```

0 comments on commit b247a9c

Please sign in to comment.