From 7bedf9d34270d763f682e065a880243b7187a6c9 Mon Sep 17 00:00:00 2001 From: peppa-bot Date: Mon, 23 Nov 2026 08:08:01 +0000 Subject: [PATCH] =?UTF-8?q?PEP-242:=20=D1=8F=D0=BA=D0=BE=D1=80=D1=8C=20?= =?UTF-8?q?=D0=B1=D0=BB=D0=BE=D0=BA=D0=B0=20=D1=81=D0=B5=D0=BA=D1=80=D0=B5?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=20=D0=BD=D0=B5=20=D0=B7=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=81=D0=B8=D1=82=20=D0=BE=D1=82=20=D0=BD=D0=B0=D0=B7=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=BB=D0=B0=D1=82=D1=84=D0=BE?= =?UTF-8?q?=D1=80=D0=BC=D1=8B=20(=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20PEP-243?= =?UTF-8?q?=20=C2=AB=D0=B8=D0=B7=20FORGE=C2=BB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- packages/runner/src/template-sync.ts | 2 +- packages/testkit/test/template-sync.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/runner/src/template-sync.ts b/packages/runner/src/template-sync.ts index ea595b4e..83ab1cca 100644 --- a/packages/runner/src/template-sync.ts +++ b/packages/runner/src/template-sync.ts @@ -127,7 +127,7 @@ export type SecretsBlockResult = | { state: "present" } | { state: "unsupported"; reason: string }; -const BLOCK_START = "# PEP-112: секреты проекта из Пеппы"; +const BLOCK_START = "# PEP-112: секреты проекта из "; // «из Пеппы» before PEP-243, «из FORGE» after /** * Adds only the project secrets block (PEP-112) of the template's deploy script to a project's own diff --git a/packages/testkit/test/template-sync.test.ts b/packages/testkit/test/template-sync.test.ts index 3806dfc9..5ab8294a 100644 --- a/packages/testkit/test/template-sync.test.ts +++ b/packages/testkit/test/template-sync.test.ts @@ -112,7 +112,7 @@ describe("Сверка шаблона в вачдоге", () => { /** The template's deploy script as it was before PEP-112: no block, no override, no call — plus a project's own line. */ function oldProjectScript(): string { const lines = TEMPLATE.split("\n"); - const start = lines.findIndex((l) => l.startsWith("# PEP-112: секреты проекта из Пеппы")); + const start = lines.findIndex((l) => l.startsWith("# PEP-112: секреты проекта из ")); const end = lines.findIndex((l, i) => i > start && l === "}"); lines.splice(start, end - start + 2); const out = lines