Skip to content

Workflow triggered for both published and prereleased #26301

Discussion options

You must be logged in to vote

Hi @robert-larsen ,

Many thanks for your feedback!  

According to the official doc, if a prelease is created, it has a parameter ‘preleased’ and value is true. However for parameter ‘draft’, it’s ‘false’ by default, which will trigger publish event. That’s why both workflows are triggered.

Hence only when you create a prelease release with draft mode, published event will be not triggered.

Currently it’s not supported to only trigger prelease event but exclude publish event.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants