Skip to content

chore: Enhancements to publish workflow - #124

Merged
francinelucca merged 2 commits into
mainfrom
francinelucca-patch-1
Aug 3, 2026
Merged

chore: Enhancements to publish workflow#124
francinelucca merged 2 commits into
mainfrom
francinelucca-patch-1

Conversation

@francinelucca

@francinelucca francinelucca commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This pull request updates the .github/workflows/publish.yml workflow to add support for manual publishing through the GitHub Actions UI and improves tag handling during the publish process. The main changes are grouped below:

Manual Workflow Dispatch Support:

  • Added a workflow_dispatch trigger with an input for specifying the tag to publish, allowing manual publishing from the GitHub Actions UI.

Tag Validation and Handling Improvements:

  • Added a step to validate the provided tag exists when running via workflow_dispatch, ensuring only valid tags are used for publishing.
  • Updated the workflow to use either the release tag (for automatic runs) or the input tag (for manual runs) throughout the checkout and versioning steps, improving flexibility and reliability.
  • Allowed publishing with the same version as the tag using the --allow-same-version flag in the npm version command to prevent failures if the version already matches the tag.

Copilot AI review requested due to automatic review settings August 3, 2026 23:13
@francinelucca
francinelucca requested a review from a team as a code owner August 3, 2026 23:13

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.

Pull request overview

Allows publishing when the release tag matches the package’s current version.

Changes:

  • Adds --allow-same-version to the npm version command.
Show a summary per file
File Description
.github/workflows/publish.yml Permits unchanged package versions during publishing.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@francinelucca francinelucca changed the title Allow same version in npm version command chore: Enhancements to publish workflow Aug 3, 2026
@francinelucca
francinelucca merged commit 5f1e5ba into main Aug 3, 2026
5 checks passed
@francinelucca
francinelucca deleted the francinelucca-patch-1 branch August 3, 2026 23:32
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