-
I have added an Action What can be the reason for that? here is my workflow:
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
This is due to GitHub events not really being singular but being loosly a set of events that can happen to a given resource. If you look at the documentation for the release event it will be triggered when a release is published, unpublished, created, edited, deleted and prereleased. We recently added a feature to the event trigger to let you filter based on these different types of events (doc update coming). So ifyou want to only trigger when the release is published you could specify that as follows:
|
Beta Was this translation helpful? Give feedback.
-
I got bit by this; I’m having two parallel runs instead of 3 though. But to be clear on my end, released is being triggered on both “created” and “published” release event. I recently found out about the filter option. Before I had to use the Filter Action using the old HCL syntax:
I’m so glad this is now built-in as mentioned by @chrispat |
Beta Was this translation helpful? Give feedback.
-
Hello, the “release” event is triggered by multiple actions: published, unpublished, created, edited, deleted and prereleased. By default, all of these will trigger the workflow. You can specify which type of actions should trigger your workflow, for example:
Source: the documentation, which I didn’t link directly because there is an error in the example |
Beta Was this translation helpful? Give feedback.
-
I have the same issue but with the “push” event: the action is executed twice in parallel. In the documentation, there are no different activity types for push. Why is my action triggered twice? |
Beta Was this translation helpful? Give feedback.
-
I hate to say that, but I have the same issue 😦 |
Beta Was this translation helpful? Give feedback.
-
This also happens with me. I have three jobs, one for each system, but they run twice each, totalizating 6. |
Beta Was this translation helpful? Give feedback.
-
I'm still experiencing this issue, even tho i've already specified
Anyone can help me on this? it's triggering 3 times for me. |
Beta Was this translation helpful? Give feedback.
This is due to GitHub events not really being singular but being loosly a set of events that can happen to a given resource. If you look at the documentation for the release event it will be triggered when a release is published, unpublished, created, edited, deleted and prereleased.
We recently added a feature to the event trigger to let you filter based on these different types of events (doc update coming). So ifyou want to only trigger when the release is published you could specify that as follows: