ci: skip upstream git-hook installation in submodule CI
ci/woodpecker/push/ci Pipeline was successful

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).
This commit is contained in:
cflmy committed 2026-11-28 11:03:08 +08:00
1 parent 44282ead84
commit ee482a23c2
1 file changed
+8
+8
View File
@@ -10,6 +10,10 @@ when:
steps: steps:
install: install:
image: node:24.22.3-bookworm 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: commands:
- corepack enable - corepack enable
- corepack prepare pnpm@11.28.5 --activate - corepack prepare pnpm@11.28.5 --activate
@@ -18,6 +22,8 @@ steps:
build: build:
image: node:24.22.3-bookworm image: node:24.22.3-bookworm
depends_on: [install] depends_on: [install]
environment:
CI: "true"
commands: commands:
- corepack enable - corepack enable
- corepack prepare pnpm@11.28.5 --activate - corepack prepare pnpm@11.28.5 --activate
@@ -26,6 +32,8 @@ steps:
test: test:
image: node:24.22.3-bookworm image: node:24.22.3-bookworm
depends_on: [build] depends_on: [build]
environment:
CI: "true"
commands: commands:
- corepack enable - corepack enable
- corepack prepare pnpm@11.28.5 --activate - corepack prepare pnpm@11.28.5 --activate