Skip to content

Convert pypi.yml to manual workflow with tag-based deployment#266

Merged
ekzhu merged 3 commits intomasterfrom
copilot/add-workflow-trigger-action
Nov 5, 2025
Merged

Convert pypi.yml to manual workflow with tag-based deployment#266
ekzhu merged 3 commits intomasterfrom
copilot/add-workflow-trigger-action

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 5, 2025

Enables manual execution of the PyPI publish workflow from the GitHub Actions UI with tag selection for deployment.

Changes

  • Removed automatic release trigger from .github/workflows/pypi.yml
  • Added workflow_dispatch trigger with required ref input parameter for tag selection
  • Updated checkout step to use the specified tag reference (${{ github.event.inputs.ref }})

The workflow now requires manual triggering through the "Run workflow" button in the Actions tab, where users must specify a tag to deploy. This provides more control over deployments and allows publishing from any tag on-demand.

Original prompt

On pypi.yml, Add a workflow trigger so this action can be run directly from GitHub actions.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com>
Copilot AI changed the title [WIP] Add workflow trigger for GitHub actions Add workflow_dispatch trigger to pypi.yml Nov 5, 2025
Copilot AI requested a review from ekzhu November 5, 2025 01:03
Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com>
Copilot AI changed the title Add workflow_dispatch trigger to pypi.yml Convert pypi.yml to manual workflow with tag-based deployment Nov 5, 2025
Copilot AI requested a review from ekzhu November 5, 2025 01:47
@ekzhu ekzhu marked this pull request as ready for review November 5, 2025 01:53
@ekzhu ekzhu merged commit be909f2 into master Nov 5, 2025
@ekzhu ekzhu deleted the copilot/add-workflow-trigger-action branch November 5, 2025 01:53
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