Prevent spinning up actions during release with multiple simultaneous pushes across branches #26500
-
Using git-flow, when we finish and release a feature it ends up making three separate pushes to origin. One on master, one on develop, and one for the tag. This results in three actions getting spun up, one for each of them. Is there any way to prevent this, in this special use case, and only run one action (instead of three? I know I can set the Curious if anyone has any insight or possible solutions. Just trying to save some CPU time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @thornomad , It’s not supported. For push event, it only concerns whether there’s a commit while not commit created by gitflow or direct git push. If the yaml file is identical between the three branches, you can limit the workflow to a specific branch, but it will prevent individual push workflow of the other branches. |
Beta Was this translation helpful? Give feedback.
Hi @thornomad ,
It’s not supported. For push event, it only concerns whether there’s a commit while not commit created by gitflow or direct git push. If the yaml file is identical between the three branches, you can limit the workflow to a specific branch, but it will prevent individual push workflow of the other branches.