git-resource
git-resource copied to clipboard
How to trigger on changes from any branch?
Title states it practically.
I'd like to be able to watch a repo an all it's branches and tags and run pipelines/jobs against them.
It is possible with instanced pipelines.
Instanced pipelines are great if you know the list of branches beforehand and don't mind adding new instances as branches are created. If you want to dynamically generate new instanced pipelines when new branches are created, though, there's not a great way to do so (that I know of). It would be nice if this resource could return a list of branches in the remote repository somehow so it could be passed to a pipeline to generate the instanced pipelines.