Skip to content
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

*Prevent* release creation? #54

Open
balthisar opened this issue Jul 20, 2021 · 1 comment
Open

*Prevent* release creation? #54

balthisar opened this issue Jul 20, 2021 · 1 comment

Comments

@balthisar
Copy link

tl;dr: is there a technique for preventing the creation of a release if it doesn't already exist? I'd rather have it fail.

Longer version:

I'm actually using workflow_dispatch with a user-supplied ref to run my action, because it can produce useful artifacts for any ref the user supplies, for example, an issue-specific debug branch, older versions, etc.

On the other hand, if the user-supplied ref is a tag that's associated with a release is provided, it would be awesome to upload the artifacts to the release automatically, but I don't want to create releases if they don't already exists.

Is there any solution to this that exists, even if it requires previous steps? Alternatively, if I were to supply a PR with a new attribute governing creating (or not) a new release, are you open to that?

Thanks!

@Porges
Copy link

Porges commented Aug 9, 2021

I’d also like this option.

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

2 participants