From a3b095486bda7455c9353b40e38a59ffb5c37048 Mon Sep 17 00:00:00 2001 From: Nikolai Emil Damm Date: Sun, 28 Jun 2026 01:55:48 +0200 Subject: [PATCH] fix(ci): release revert commits so reverts reach the cluster MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The revert #75 (dropping the panic-on-create CodeRabbit ruleset) merged to main but semantic-release reported "no release": the default release rules cover feat/fix/perf but not the `revert` type, so the deploy/ change was never published — the github-config OCI artifact stayed at v1.8.0 (which still contains the broken ruleset) and the failing OrganizationRuleset CR was never pruned. Add a commit-analyzer releaseRule mapping `revert` -> patch so revert commits cut a release (and reach the cluster). This `fix:` commit itself triggers the patch that republishes current main — with #75's removal already applied. Co-Authored-By: Claude Opus 4.8 --- .releaserc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index b712c29..553f9e0 100644 --- a/.releaserc +++ b/.releaserc @@ -3,6 +3,13 @@ "main" ], "plugins": [ - "@semantic-release/commit-analyzer" + [ + "@semantic-release/commit-analyzer", + { + "releaseRules": [ + { "type": "revert", "release": "patch" } + ] + } + ] ] }