From e89e36e00b2ede4af319de88eab290dc9aa0d861 Mon Sep 17 00:00:00 2001 From: krypton-byte Date: Sun, 23 Aug 2026 12:14:31 +0000 Subject: [PATCH 1/2] fix(release): use python -m semantic_release for reliable PATH resolution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit uv run --no-project doesn't set shell PATH to venv bin. Module invocation always works. 🤖 Generated with Codebuff Co-Authored-By: Codebuff --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c95f515..10e12e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: - name: Python Semantic Release id: release - run: uv run --no-project semantic-release version + run: uv run --no-project python -m semantic_release version env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 626fc5a396903bc5dd0e4cab645914eff48efc9f Mon Sep 17 00:00:00 2001 From: krypton-byte Date: Sun, 23 Aug 2026 12:23:24 +0000 Subject: [PATCH 2/2] fix(ci): restore workflow_run trigger for release pipeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tag pushes from release.yml use GITHUB_TOKEN which does NOT trigger other workflows (GitHub Actions limitation). The workflow_run trigger is required as a workaround. Tightened publish condition to only fire when Release workflow completes successfully. 🤖 Generated with Codebuff Co-Authored-By: Codebuff --- .github/workflows/CI.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 78333ea..7428dad 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -4,6 +4,9 @@ on: push: tags: - "v*" + workflow_run: + workflows: ["Release"] + types: [completed] permissions: contents: read @@ -225,7 +228,11 @@ jobs: release: name: Publish to PyPI - if: startsWith(github.ref, 'refs/tags/v') + if: > + ${{ + github.event_name == 'workflow_run' && + github.event.workflow_run.conclusion == 'success' + }} needs: [linux, android, windows, macos, sdist] runs-on: ubuntu-latest permissions: