Say I have workflow1 & workflow2. If pushes to any branch trigger workflow1 & tags trigger workflow2, how can i prevent both workflow1 & workflow2 to be triggered when I push a branch with tags?
$ git commit --allow-empty -m “Dummy commit”
$ git tag -a 1.0.0 -m ‘nothing here’
$ git push --tags origin master // triggers both workflows
I don’t want the above to trigger both workflows. I just want workflow2.