Showing results for 
Search instead for 
Did you mean: 
Pilot Lvl 1
Message 1 of 3

Editing Release?

Solved! Go to Solution.

Hello All,


Total newb here jumping into GitHub Actions. :)


I am interested in capturing the `on.release.published` event and essentially hiding it (setting its `draft` to `true`) until the CI is done and all its artifacts have been attached to it.


Is this possible?  Well, I'm sure it's possible. 😁  Searching is turning up scarce, so here I am. :)


I did find `create-release`:


But it seems to deal with creating and not editing.


Any assistance you can provide for this newb would be greatly appreciated!

2 Replies
Pilot Lvl 1
Message 2 of 3

Re: Editing Release?

FWIW, I am attempting with the following types as discussed here, but it does not seem to trigger when editing, publishing or unpublishing a release, from what I can tell.

Pilot Lvl 1
Message 3 of 3

Re: Editing Release?

OK!  I figured this one out.


It's a bit tricky.  Intuition says when you commit a new edit to a workflow file, the release events should fire.  But recall when creating a release it is tagged to a particular commit, which may not have the edited workflow in it.  So, ensure that the release that you want to generate workflow event triggers for is tagged to a commit that has the configured workflow in it, if that makes sense.


Kinda tricky but cool when you think of it. Everything works as expected after all. 😆