add status checks #14
status-checks.yaml
on: pull_request
runner / shfmt
9s
runner / shellcheck
6s
Annotations
6 errors and 10 warnings
runner / shellcheck
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
runner / shellcheck:
zfs-replicate.sh#L38
[shellcheck] reported by reviewdog 🐶
Double quote array expansions to avoid re-splitting elements.
Raw Output:
./zfs-replicate.sh:38:28: error: Double quote array expansions to avoid re-splitting elements. (ShellCheck.SC2068)
|
runner / shellcheck:
zfs-replicate.sh#L46
[shellcheck] reported by reviewdog 🐶
Double quote array expansions to avoid re-splitting elements.
Raw Output:
./zfs-replicate.sh:46:14: error: Double quote array expansions to avoid re-splitting elements. (ShellCheck.SC2068)
|
runner / shellcheck:
config.sample.sh#L1
[shellcheck] reported by reviewdog 🐶
Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Raw Output:
./config.sample.sh:1:1: error: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. (ShellCheck.SC2148)
|
runner / shellcheck
Process completed with exit code 2.
|
runner / shfmt
Process completed with exit code 1.
|
runner / shellcheck:
get-last-status.sh#L8
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./get-last-status.sh:8:11: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
runner / shellcheck:
get-last-status.sh#L17
[shellcheck] reported by reviewdog 🐶
Don't use ls | grep. Use a glob or a for loop with a condition to allow non-alphanumeric filenames.
Raw Output:
./get-last-status.sh:17:19: warning: Don't use ls | grep. Use a glob or a for loop with a condition to allow non-alphanumeric filenames. (ShellCheck.SC2010)
|
runner / shellcheck:
get-last-status.sh#L17
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./get-last-status.sh:17:22: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
runner / shellcheck:
get-last-status.sh#L18
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./get-last-status.sh:18:20: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
runner / shellcheck:
get-last-status.sh#L18
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./get-last-status.sh:18:28: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
runner / shellcheck:
zfs-replicate.sh#L15
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./zfs-replicate.sh:15:25: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
runner / shellcheck:
zfs-replicate.sh#L19
[shellcheck] reported by reviewdog 🐶
Declare and assign separately to avoid masking return values.
Raw Output:
./zfs-replicate.sh:19:19: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)
|
runner / shellcheck:
zfs-replicate.sh#L19
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./zfs-replicate.sh:19:38: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
runner / shellcheck:
zfs-replicate.sh#L22
[shellcheck] reported by reviewdog 🐶
Declare and assign separately to avoid masking return values.
Raw Output:
./zfs-replicate.sh:22:19: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)
|
runner / shellcheck:
zfs-replicate.sh#L22
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./zfs-replicate.sh:22:38: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|