Hi all,
There are two branches in my repository and they're are called develop and master. I would like to trigger a pipeline once a tag is pushed, but I need to choose which branch to checkout depending on the tag pattern. Example:
If the tag matches 'staging-*', the develop branch must be used and if it matches 'master-*', the branch master is the chosen one.
Can someone please help me?
Thanks!