Skip to content

Commit

Permalink
README: suggest use of line folding (#82)
Browse files Browse the repository at this point in the history
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
  • Loading branch information
Cireo and ludeeus committed Jan 28, 2023
1 parent 6d3f514 commit e5c9260
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
```

Expand Down

0 comments on commit e5c9260

Please sign in to comment.