Skip to content

Any way to don't publish if not already published? #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ftzi opened this issue Feb 4, 2022 · 3 comments
Closed

Any way to don't publish if not already published? #48

ftzi opened this issue Feb 4, 2022 · 3 comments

Comments

@ftzi
Copy link

ftzi commented Feb 4, 2022

Hi! I've been using it for a while and I appreciate your work ;)

I want to include it on my boilerplates generator, but I would like that it would only run publish if the package is already published, to avoid accidental publishing due to some specific reasons. I know right that it's possible to use another branch to avoid the publishing, but I want to know if it's possible.

Thanks!

@Vanthang1995
Copy link

Uploading Screenshot_20220205-200934_B29.jpg…

@Vanthang1995
Copy link

11

@mcous
Copy link
Member

mcous commented Apr 7, 2023

Thanks for the request! I don't think it's worth adding this feature to this action. If you would like to prevent a package from being published until it's ready, you should set "private": true in package.json

@mcous mcous closed this as not planned Won't fix, can't repro, duplicate, stale Apr 7, 2023
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

No branches or pull requests

3 participants