I'm trying out github actions, and I can't get my action to trigger on release. The documentation says it's supposed to trigger when a release is created, edited, and other things, but no matter what I do I can't get it working. I've tried:
on: release: types: ["created","edited"]
(And, of course, created releases to try to trigger the action.) But it just won't work! The repo is https://github.com/tkfu/homebrew-action-testing. Any ideas? Or is this just a bug?
I have the same issue. Nothing is triggered when a release is created.
types: [created, published]
I should have posted an update. My issue was a misunderstanding of the system. The trigger only executes when a release is created using a tag that contains the workflow. I had committed my workflow to master, but was trying to trigger it using releases based on older tags, of commits that didn't contain the workflow.
I don't know if that happens to be the same issue you're having @hannseman, but good luck.
I've done some more tests and the action is triggered when creating a release through the Github webpage but when creating a release through the API this event is not triggered. Feels like a bug no?