Skip to content

Fix release process and restore workflow_run trigger - #14

Merged
krypton-byte merged 2 commits into
masterfrom
dev
Aug 23, 2026
Merged

Fix release process and restore workflow_run trigger#14
krypton-byte merged 2 commits into
masterfrom
dev

Conversation

@krypton-byte

Copy link
Copy Markdown
Owner

This pull request updates the release workflow to improve reliability and ensure that publishing to PyPI only occurs after a successful release workflow. The main changes involve how the CI pipeline is triggered and how the release step is executed.

Workflow Triggering and Release Logic:

  • .github/workflows/CI.yml: Added a workflow_run trigger so that the CI workflow is now triggered when the "Release" workflow completes, rather than on tag pushes alone.
  • .github/workflows/CI.yml: Updated the release job condition to only run when the "Release" workflow completes successfully, preventing accidental or duplicate releases.

Release Command Update:

  • .github/workflows/release.yml: Changed the release command to use python -m semantic_release version instead of calling semantic-release directly, ensuring compatibility and clarity in how the release is executed.## Summary

Type of Change

  • feat
  • fix
  • docs
  • refactor
  • chore
  • ci/build
  • breaking change

Checklist

  • PR title follows Conventional Commits (type(scope): summary)
  • Local checks pass (ruff, formatting, stub parity)
  • Docs updated if behavior/API changed
  • Relevant tests added/updated
  • No secrets or generated build artifacts committed

Linked Issues

Notes for Reviewer

krypton-byte and others added 2 commits August 23, 2026 12:14
…tion

uv run --no-project doesn't set shell PATH to venv bin. Module
invocation always works.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
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 <noreply@codebuff.com>
@krypton-byte
krypton-byte merged commit 6905dee into master Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant