fix(image): make the hook smoke-test samples pass yamllint --strict
Build / build (pull_request) Successful in 50s
Lint / lint (pull_request) Successful in 1m24s

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
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-10-25 11:32:31 +00:00
1 parent 6fb490a062
commit eac17da022
1 file changed
+2 -2
+2 -2
View File
@@ -82,8 +82,8 @@ RUN set -eu; \
/opt/venv/bin/pre-commit install-hooks; \
mkdir -p .gitea/workflows; \
printf -- '---\nkey: value\n' > ok.yaml; \
printf -- 'self-hosted-runner:\n labels:\n - kamino-docker\n' > .gitea/actionlint.yaml; \
printf -- 'on: push\njobs:\n t:\n runs-on: kamino-docker\n steps:\n - run: echo ok\n' > .gitea/workflows/t.yml; \
printf -- '---\nself-hosted-runner:\n labels:\n - kamino-docker\n' > .gitea/actionlint.yaml; \
printf -- '---\n"on": push\njobs:\n t:\n runs-on: kamino-docker\n steps:\n - run: echo ok\n' > .gitea/workflows/t.yml; \
git add ok.yaml .gitea/actionlint.yaml .gitea/workflows/t.yml; \
smoke() { for h in yamllint gitleaks actionlint; do /opt/venv/bin/pre-commit run "$h" --all-files; done; }; \
smoke; \