mirror of
https://github.com/koajs/koa.git
synced 2026-03-28 20:07:20 +00:00
Enables manual triggering of the npm publish workflow with a specific tag input, so tags created from non-default branches (e.g. `v2.x`) can be published. - Added `workflow_dispatch` trigger with a required `tag` string input - Updated checkout step to use `inputs.tag || github.ref` — manual runs check out the specified tag, tag-push runs retain existing behavior Note: GitHub Actions `workflow_dispatch` does not support dynamic dropdowns, so the tag is a free-text input field. <!-- START COPILOT CODING AGENT TIPS --> --- 🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. [Learn more about Advanced Security.](https://gh.io/cca-advanced-security) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>