Skip to content

[BUG] Release event "prereleased" not firing/working if the release was previously a draft #26954

Answered by weide-zhou
malimccalla asked this question in Actions
Discussion options

You must be logged in to vote

Hi @malimccalla ,

Thank you for reaching this out!  This is by designed. As doc mentioned:

Hence, for your step3, no workflow is triggered for draft release.

For your step 5, no operation to tick the ‘prereleased’ checkbox, the action type is actually ‘published’.

I add all activity event type in yaml file and confirm in github context:

For your additional information test, the action type can be ‘prereleased’.

It’s recommened to use github context to check the detail action type.

Hope it clear and helpful!

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
2 participants