Skip to content

Enable manual runs of the npm-publish workflow - #789

Merged
Hugo-ter-Doest merged 2 commits into
masterfrom
copilot/enable-manual-workflow-runs
Oct 22, 2026
Merged

Hugo-ter-Doest merged 2 commits into
masterfrom
copilot/enable-manual-workflow-runs

Conversation

Copilot AI commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

The npm-publish workflow only triggers on release creation, so GitHub doesn't show the "Run workflow" button in the Actions UI. This adds workflow_dispatch so the workflow can be started by hand.

  • .github/workflows/npm-publish.yml: add workflow_dispatch: under on:. The existing release: types: [created] trigger is unchanged.
on:
  release:
    types: [created]
  workflow_dispatch:

Reviewer note: the jobs have no trigger-specific conditions. A manual run goes through the same steps as a release run, including any publish step. I only inspected the top of the file, so please check that a manual dispatch behaves as intended, or add an if: guard on the publish job.

Co-authored-by: Hugo-ter-Doest <7829083+Hugo-ter-Doest@users.noreply.github.com>
Copilot AI changed the title [WIP] Add manual workflow dispatch for npm publish workflow Enable manual runs of the npm-publish workflow Oct 22, 2026
Copilot AI requested a review from Hugo-ter-Doest October 22, 2026 11:12
@Hugo-ter-Doest
Hugo-ter-Doest marked this pull request as ready for review October 22, 2026 11:13
@Hugo-ter-Doest
Hugo-ter-Doest merged commit b637031 into master Oct 22, 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.

2 participants