[BUG] Release event "prereleased" not firing/working if the release was previously a draft #26954
-
Description On github If I create a draft version of a prelease and the go back to publish it later it is not picked up by my workflow.
Steps to reproduce: What happens: What I expect to happen: Additional information: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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! |
Beta Was this translation helpful? Give feedback.
-
@weide-zhou Thanks for clearing that up for me. I was just a little confused as the release |
Beta Was this translation helpful? Give feedback.
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!