You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Sometimes we publish package by mistake. For instance, if we publish a release notes in the bpmn-visualization-js repository by mistake, a git tag is created and this triggers a worklfow that publish an erroneous version of the package on npm.
The unpublish must be done manually from a developer environment. This is error prone.
Describe the solution you'd like
Create a worklfow to do the npm unpublish of a single version of a package that can be launched with workflow_dispatch
Inputs
package name: default bpmn-visualization
version: required, no default
dry-run: default to true. This will force collaborators to update the value manually and will prevent running extra unpublish
Describe alternatives you've considered
Continue doing it manually. This is error prone and require npm login setup on developer machine that may not have right to unpublish versions of the package. As we have only 72 hours to unpublish after the publishing date, we need to be reactive and we don't want to depend on people with access right who may not be available at this time.
tbouffard
transferred this issue from process-analytics/github-actions-playground
Sep 27, 2022
tbouffard
changed the title
[FEAT] Create a workflow to unpublish a version of a npm package
[INFRA] Create a workflow to unpublish a version of a npm package
Feb 15, 2023
tbouffard
added
chore
Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
and removed
enhancement
New feature or request
labels
Feb 15, 2023
Is your feature request related to a problem? Please describe.
Sometimes we publish package by mistake. For instance, if we publish a release notes in the bpmn-visualization-js repository by mistake, a git tag is created and this triggers a worklfow that publish an erroneous version of the package on npm.
The unpublish must be done manually from a developer environment. This is error prone.
Describe the solution you'd like
Create a worklfow to do the npm unpublish of a single version of a package that can be launched with workflow_dispatch
Inputs
Describe alternatives you've considered
Continue doing it manually. This is error prone and require npm login setup on developer machine that may not have right to unpublish versions of the package. As we have only 72 hours to unpublish after the publishing date, we need to be reactive and we don't want to depend on people with access right who may not be available at this time.
Additional context
Note: this issue was initially available at https://github.com/process-analytics/github-actions-playground/issues/133
The text was updated successfully, but these errors were encountered: