This workflow automates semantic versioning for Python projects using uv
, triggered by major
, minor
, or patch
labels on pull requests. It ensures version bumps are intentional, traceable, and reversible when needed.
- Runs on
pull_request
events of typelabeled
orunlabeled
- Executes only if:
- A bump label (
major
,minor
,patch
) is added - A bump label is removed and the last commit was bot-authored
- A bump label (