Fix pipefail error caused by piping output to head #190
lint.yml
on: pull_request
Lint Bash scripts
9s
Lint Dockerfiles
5s
lint-actions
9s
Annotations
4 errors and 4 warnings
Lint Bash scripts:
entrypoint.sh#L95
[shellcheck] reported by reviewdog 🐶
Shells disambiguate $(( differently or not at all. For $(command substitution), add space after $( . For $((arithmetics)), fix parsing errors. [SC1102](https://github.com/koalaman/shellcheck/wiki/SC1102)
Raw Output:
./entrypoint.sh:95:19:error:Shells disambiguate $(( differently or not at all. For $(command substitution), add space after $( . For $((arithmetics)), fix parsing errors. [SC1102](https://github.com/koalaman/shellcheck/wiki/SC1102)
|
Lint Bash scripts:
entrypoint.sh#L96
[shellcheck] reported by reviewdog 🐶
Shells disambiguate $(( differently or not at all. For $(command substitution), add space after $( . For $((arithmetics)), fix parsing errors. [SC1102](https://github.com/koalaman/shellcheck/wiki/SC1102)
Raw Output:
./entrypoint.sh:96:23:error:Shells disambiguate $(( differently or not at all. For $(command substitution), add space after $( . For $((arithmetics)), fix parsing errors. [SC1102](https://github.com/koalaman/shellcheck/wiki/SC1102)
|
Lint Bash scripts:
entrypoint.sh#L95
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
entrypoint.sh:95:-matching_tag_refs=$((grep -E "$tagFmt" <<< $git_refs) || true)
entrypoint.sh:96:-matching_pre_tag_refs=$((grep -E "$preTagFmt" <<< $git_refs) || true)
entrypoint.sh:97:-tag=$(head -n 1 <<< $matching_tag_refs)
entrypoint.sh:98:-pre_tag=$(head -n 1 <<< $matching_pre_tag_refs)
entrypoint.sh:95:+matching_tag_refs=$((grep -E "$tagFmt" <<< "$git_refs") || true)
entrypoint.sh:96:+matching_pre_tag_refs=$((grep -E "$preTagFmt" <<< "$git_refs") || true)
entrypoint.sh:97:+tag=$(head -n 1 <<< "$matching_tag_refs")
entrypoint.sh:98:+pre_tag=$(head -n 1 <<< "$matching_pre_tag_refs")
|
Lint Bash scripts
Process completed with exit code 2.
|
Lint Bash scripts:
entrypoint.sh#L95
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
Raw Output:
./entrypoint.sh:95:44:info:Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
|
Lint Bash scripts:
entrypoint.sh#L96
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
Raw Output:
./entrypoint.sh:96:51:info:Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
|
Lint Bash scripts:
entrypoint.sh#L97
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
Raw Output:
./entrypoint.sh:97:21:info:Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
|
Lint Bash scripts:
entrypoint.sh#L98
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
Raw Output:
./entrypoint.sh:98:25:info:Double quote to prevent globbing and word splitting. [SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086)
|