From 73981465300f2ed8759e2e16bc8572b00fdf3813 Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Tue, 17 Feb 2026 23:51:30 -0500 Subject: [PATCH] fix(ci): use v9 branch config for python-semantic-release Replace `branch = "main"` (v7/v8 key) with `[tool.semantic_release.branches.main]` table (v9 key). The old key is silently ignored by v9, causing releases to never trigger on the main branch. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d5ca13e..a8fd48f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,9 +67,11 @@ python_files = ["test_*.py"] [tool.semantic_release] version_toml = ["pyproject.toml:project.version"] -branch = "main" commit_message = "chore: release {version}" +[tool.semantic_release.branches.main] +match = "main" + [tool.semantic_release.commit_parser_options] allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "style", "test"] minor_tags = ["feat"]