Hi,
I’m trying to set up a pipeline which will be triggered by github release.
Github currently sends multiple events when a new release is created, namely release.created
, release.prereleased
, release.published
.
There is an option in codefresh trigger configuration to select only release.prereleased
(or release.released
) events and I would like the pipeline to be only triggered by this specific event.
But when I select only release.released
and I publish a pre-release on github, the pipeline actually triggers with Release published
event, which I didn’t select. Same if I configure release.prereleased
.
For some reason it’s not possible to filter out the published
event and it always triggers the pipeline, although it’s not checked in the trigger configuration UI and is not present in the YAML for the pipeline.
That looks like a bug to me.
Also is there any workaround I can use?
Thanks.