fix(image): make the hook smoke-test samples pass yamllint --strict #6

Merged
Defame1297 merged 1 commits from fix/ci-image-smoke-samples into main 2026-10-25 11:35:53 +00:00
Owner

Problem

Run 2256 (after #5): install-hooks succeeded for all hook repos, then the first smoke call failed: the yamllint hook runs with --strict, so the warnings on my sample files (.gitea/actionlint.yaml: missing document start; .gitea/workflows/t.yml: missing document start and the unquoted on key, a truthy warning) failed the hook and set -eu aborted the image build. Not a layer-size problem; the push is still unreached.

Change

Both sample files start with --- and the workflow uses "on": push. images/ci/Dockerfile only.

Verification

The next image.yml run on main is the test: gitleaks and actionlint have not yet run in the smoke test, nor before/after the Go toolchain deletion. If either needs more (e.g. actionlint config), the log will show it.

🤖 Generated with Claude Code

## Problem Run 2256 (after #5): `install-hooks` succeeded for all hook repos, then the first smoke call failed: the yamllint hook runs with `--strict`, so the warnings on my sample files (`.gitea/actionlint.yaml`: missing document start; `.gitea/workflows/t.yml`: missing document start and the unquoted `on` key, a `truthy` warning) failed the hook and `set -eu` aborted the image build. Not a layer-size problem; the push is still unreached. ## Change Both sample files start with `---` and the workflow uses `"on": push`. `images/ci/Dockerfile` only. ## Verification The next `image.yml` run on `main` is the test: gitleaks and actionlint have not yet run in the smoke test, nor before/after the Go toolchain deletion. If either needs more (e.g. actionlint config), the log will show it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Claude added 1 commit 2026-10-25 11:32:40 +00:00
fix(image): make the hook smoke-test samples pass yamllint --strict
Lint / lint (pull_request) Successful in 1m24s
Build / build (pull_request) Successful in 50s
eac17da022
The yamllint hook runs with --strict, so the warnings on the sample files
(missing document start, unquoted `on` key) failed the build (run 2256).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Defame1297 merged commit 3bfa4ef58a into main 2026-10-25 11:35:53 +00:00
Defame1297 deleted branch fix/ci-image-smoke-samples 2026-10-25 11:35:53 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#6