From ee482a23c2e0ae3ca4c2b56281ea82e9fb58619d Mon Sep 17 00:00:00 2001 From: cflmy Date: Sat, 28 Nov 2026 11:03:08 +0800 Subject: [PATCH] ci: skip upstream git-hook installation in submodule CI The upstream install script refuses extensions.worktreeConfig when a submodule keeps core.worktree in its common config. Its documented CI skip path is CI=true; hooks are not needed in the pipeline. This keeps the independent app CI and the root Node lane installable from a submodule. Part of marqdo#25 (S09). --- .woodpecker/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index de097b6170..eb493bf549 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -10,6 +10,10 @@ when: steps: install: image: node:24.22.3-bookworm + environment: + # The upstream hook installer refuses a submodule common config; CI is + # the documented skip path and hooks are not needed in this pipeline. + CI: "true" commands: - corepack enable - corepack prepare pnpm@11.28.5 --activate @@ -18,6 +22,8 @@ steps: build: image: node:24.22.3-bookworm depends_on: [install] + environment: + CI: "true" commands: - corepack enable - corepack prepare pnpm@11.28.5 --activate @@ -26,6 +32,8 @@ steps: test: image: node:24.22.3-bookworm depends_on: [build] + environment: + CI: "true" commands: - corepack enable - corepack prepare pnpm@11.28.5 --activate