Skip to content

Fix PyPI tag publish gate for v0.1 - #5

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/fix-pypi-tag-trigger-4d6c
Sep 11, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/fix-pypi-tag-trigger-4d6c

Conversation

@ckmah

@ckmah ckmah commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Tag-triggered PyPI publishes were skipped because the job if required inputs.confirm_publish == 'publish', which is only set on workflow_dispatch.
  • Allow publish when github.event_name == 'push' (tag v0.1) or when manual confirm is provided.

Test plan

  • After merge, push TestPyPI tag v0.1.0-test and confirm Publish (TestPyPI) succeeds
  • Only then push v0.1 and confirm Publish (PyPI) runs (not skipped)
Open in Web Open in Cursor 

workflow_dispatch required confirm_publish == 'publish', which left
tag-triggered runs with empty inputs and skipped the job.

Co-authored-by: clarence.k.mah <clarence.k.mah@gmail.com>
@ckmah
ckmah marked this pull request as ready for review September 11, 2026 17:46
@cursor
cursor Bot merged commit 078026d into main Sep 11, 2026
1 check passed

This branch had an error being deployed

1 failed deployment
testpypi — 078026da Deployed Sep 11, 2026 by cursor[bot] via publish #1
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.

2 participants