Skip to content

Fix pipefail error caused by piping output to head #190

Fix pipefail error caused by piping output to head

Fix pipefail error caused by piping output to head #190

Re-run triggered May 21, 2023 00:39
Status Failure
Total duration 20s
Artifacts

lint.yml

on: pull_request
Lint Bash scripts
9s
Lint Bash scripts
Lint Dockerfiles
5s
Lint Dockerfiles
lint-actions
9s
lint-actions
Fit to window
Zoom out
Zoom in

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)