From 41eafd738df60770b6f0d96f4f0925b34dd92e12 Mon Sep 17 00:00:00 2001 From: Reid Price Date: Mon, 2 Jan 2023 13:44:14 -0800 Subject: [PATCH 1/3] README: suggest use of line folding The `>-` operator is convenient and quickly becomes more readable. --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 42efea4..d57299a 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ example: ## Ignore paths and names -You can use the `ignore_paths` and `ignore_names` input to disable specific directories and files. +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 +61,9 @@ example: - name: Run ShellCheck uses: ludeeus/action-shellcheck@master with: - ignore_paths: ignoreme ignoremetoo + ignore_paths: >- + ignoreme + ignoremetoo ignore_names: ignorable.sh ``` @@ -174,5 +176,5 @@ If running the latest stable version of Shellcheck is not to your liking, you ca - name: Run ShellCheck uses: ludeeus/action-shellcheck@master with: - version: v0.7.0 + version: v0.9.0 ``` From 3bc2791c64e04e32357e64ca9e1dbb5b411f913b Mon Sep 17 00:00:00 2001 From: Reid Price Date: Sun, 15 Jan 2023 10:59:30 -0800 Subject: [PATCH 2/3] README: line break extended line Review suggestion --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d57299a..e4d0d5a 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,9 @@ 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. +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: From 8f9f0b7ca44fef8a3f1888d0839b8058b0c497f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sat, 28 Jan 2023 21:52:05 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e4d0d5a..fd83865 100644 --- a/README.md +++ b/README.md @@ -178,5 +178,5 @@ If running the latest stable version of Shellcheck is not to your liking, you ca - name: Run ShellCheck uses: ludeeus/action-shellcheck@master with: - version: v0.9.0 + version: v0.7.0 ```