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
+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; \