activity type for drafted release

among all the activity types there seems no mention of draft release, what should I use if I want to set my action to be triggered when a new release is drafted? (created doesn’t seem to do it)


I am currently wondering the same thing.

Even I’m wondering the same. Any workaround you guys found @shiqi @eskimag 

Hi @shiqi,

Thank you for being here! I’m afraid there isn’t an Actions trigger for draft releases. Because GitHub Actions is built atop our existing eventing system, the event triggers can be expected to work in the same way that our webhooks do:

Moving forward here, it’s possible that you may want to “filter” your actions in a way that only triggers on certain conditions. One of our colleagues developed their own toolkit written in JavaScript for building actions with support for triggering events based on a specific action:

I hope this helps!