allow pipelines on tags to update branch badges
Problem to solve
Correct badges - for those using tags on master branch.
We only release to production from master branch - on tags.
Currently our badges point to master branch (since we cannot point to a tag - that is a semantic version). That means that our latest master status != what is in production - when we have merged anything into master after last tag.
It also means we have to run our tests on EVERY merge to master (ie. set stages to run on 'master') - where we normally have them set to only run on 'tags' on master.
Everyone doing CI and using tags on master.
I propose that an option be added, to update "branch badge" - whenever a pipeline is run on a tag. So badge updater will if option is set - simply see that this pipelin was run on tags - and then also identify branch this tag was on and update that badge as well.