Skip to content

ci: lint the shell scripts in hack/ - #78

Merged
slauger merged 1 commit into
developfrom
ci/shellcheck
Sep 6, 2026
Merged

ci: lint the shell scripts in hack/#78
slauger merged 1 commit into
developfrom
ci/shellcheck

Conversation

@slauger

@slauger slauger commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

hack/check-coverage.sh and hack/check-rbac.sh decide whether CI passes, and nothing was linting them. A quoting mistake in a gate either fails builds for the wrong reason or, worse, makes the gate silently succeed while appearing to run.

Both scripts are already clean, so this adds no findings today. The point is the next edit.

Wired into the CI workflow and into make ci, so local and CI ask the same question, and make shellcheck fails with an install hint rather than doing nothing when the tool is missing.

Scans hack/ rather than images/, since that is where this project's scripts live.

Test plan

  • shellcheck hack/*.sh is clean, and make ci passes end to end.
  • Verified the gate is not inert: appending an unquoted echo $BROKEN to one script makes it report SC2086, and removing it restores a clean run.
  • actionlint reports no findings on the new workflow or the changed ci.yaml.

hack/check-coverage.sh and hack/check-rbac.sh decide whether CI passes,
and nothing was linting them. A quoting mistake there either fails
builds or, worse, makes a gate silently succeed.

Both scripts are already clean, so this adds no findings; it stops the
next edit from introducing one. Wired into the CI workflow and into
make ci so local and CI ask the same question.

Signed-off-by: Simon Lauger <simon@lauger.de>
@slauger
slauger merged commit 243f622 into develop Sep 6, 2026
15 checks passed
@slauger
slauger deleted the ci/shellcheck branch September 6, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant