README: suggest use of line folding (#82)

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
This commit is contained in:
Reid Price 2023-01-28 12:53:27 -08:00 committed by GitHub
parent 6d3f514f44
commit e5c9260d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,8 @@ example:
## Ignore paths and names
You can use the `ignore_paths` and `ignore_names` input to disable specific directories and files.
These are passed as environment variables, and should evaluate to a single space-separated string.
It may be convenient to use [`>-`](https://yaml.org/spec/1.2.2/#65-line-folding) for readability if you have multiple selectors.
```text
sample structure:
@ -61,7 +63,9 @@ example:
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
ignore_paths: ignoreme ignoremetoo
ignore_paths: >-
ignoreme
ignoremetoo
ignore_names: ignorable.sh
```