Skip to content

Support manual package publishing - #64

Merged
francinelucca merged 2 commits into
mainfrom
francinelucca-manual-publish-workflow
Aug 4, 2026
Merged

Support manual package publishing#64
francinelucca merged 2 commits into
mainfrom
francinelucca-manual-publish-workflow

Conversation

@francinelucca

Copy link
Copy Markdown
Contributor

Publishing currently depends on creating a GitHub release, which prevents maintainers from rerunning a publish for an existing tag.

This adds a manual workflow dispatch with a required tag version. Manual runs verify that the tag exists before checking it out, while release-triggered runs continue using the release tag. The npm version command also allows the package version to remain unchanged when republishing the same version.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fb88c8a1-1744-4092-ac87-8a7d7be0357a
@francinelucca
francinelucca requested a review from a team as a code owner August 3, 2026 23:23
Copilot AI review requested due to automatic review settings August 3, 2026 23:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Not ready to approve

The checkout ref must be tag-qualified to prevent a same-named branch from being published.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Adds manual npm publishing for existing tags while preserving release-triggered publishing.

Changes:

  • Adds manual tag input and validation.
  • Checks out the selected tag.
  • Allows unchanged package versions during publishing.
File summaries
File Description
.github/workflows/publish.yml Adds manual tag-based publishing support.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread .github/workflows/publish.yml
@francinelucca
francinelucca merged commit 964bed1 into main Aug 4, 2026
5 checks passed
@francinelucca
francinelucca deleted the francinelucca-manual-publish-workflow branch August 4, 2026 01:36
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.

3 participants