From b7e1f12bc47031f7a1b817a2d025d5472712220e Mon Sep 17 00:00:00 2001 From: "Zimin A.N." Date: Wed, 13 May 2026 00:25:48 +0300 Subject: [PATCH] =?UTF-8?q?fix(release):=20remove=20[skip=20ci]=20=D0=B8?= =?UTF-8?q?=D0=B7=20semantic-release=20commit=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [skip ci] в commit message skip'ает GitLab pipeline для ВСЕХ ref'ов на этом SHA — включая tag pipeline. Эффект: semantic-release создаёт v*.*.* tag, но tag pipeline скипается → images с tag'ом v*-*-*- не собираются → propose-prod-image-bump (этот MR) не имеет images для bump. Confirmed на v2.16.0 (commit bf07d6b): tag pipeline 6814 = skipped, registry без 'v2-16-0-*' tags → невозможно deploy. Loop prevention для chore(release) commit'ов работает через releaseRules ('chore': release: false) — semantic-release на этом commit'е detect'ит 'no releasable commits since previous tag' → exit 0 → no new tag → no loop. Cost: docker-admin-ui ребилдит на каждом chore(release) commit (package.json + CHANGELOG.md match frontend-changes path-filter) — ~2 мин wasted CI time, приемлемо vs broken release flow. --- ordinis-admin-ui/.releaserc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ordinis-admin-ui/.releaserc.json b/ordinis-admin-ui/.releaserc.json index d3101d5..1779cc3 100644 --- a/ordinis-admin-ui/.releaserc.json +++ b/ordinis-admin-ui/.releaserc.json @@ -63,7 +63,8 @@ "@semantic-release/git", { "assets": ["package.json", "CHANGELOG.md"], - "message": "chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + "_comment": "БЕЗ [skip ci]: tag pipeline на этом commit'е (через @semantic-release/gitlab) ДОЛЖЕН запускаться чтобы собрать images с tag'ом v*-*-*-. Без images = nothing для deploy на prod (см. ordinis-infra MR !10 + ordinis MR !154 auto-PR flow). Защита от loop: chore(release) тип имеет 'release: false' в releaseRules выше → semantic-release на этом chore-commit'е выйдет 0 (no releasable commits) → не создаст новый tag. Cost: docker-admin-ui ребилдит на каждом release commit (package.json + CHANGELOG.md changes match frontend-changes) — ~2 мин waste, приемлемо.", + "message": "chore(release): v${nextRelease.version}\n\n${nextRelease.notes}" } ], [