From e5c9260d1115f89914b306831f831def43d2dc2d Mon Sep 17 00:00:00 2001 From: Reid Price Date: Sat, 28 Jan 2023 12:53:27 -0800 Subject: [PATCH] README: suggest use of line folding (#82) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Joakim Sørensen --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 42efea4..fd83865 100644 --- a/README.md +++ b/README.md @@ -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 ```