From eac17da022e9fa7a70aeec6d3472fa8ce9071041 Mon Sep 17 00:00:00 2001 From: Claude Code AI - Gitea MCP <3+claude@noreply.git.rkdr.net> Date: Sun, 25 Oct 2026 11:32:31 +0000 Subject: [PATCH] fix(image): make the hook smoke-test samples pass yamllint --strict 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 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- images/ci/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/ci/Dockerfile b/images/ci/Dockerfile index 492d131..e59aac5 100644 --- a/images/ci/Dockerfile +++ b/images/ci/Dockerfile @@ -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; \