Skip to content

*Prevent* release creation? #54

@balthisar

Description

@balthisar

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions