I am expecting that if I have a tag, only the tagged workflow is executed.
What is happening is:
Both of the workflows (tagged and untagged) are executed: Why?
The tagged workflow fails with:
Either git or ssh (required by git to clone through SSH) is not installed in the image. Falling back to CircleCI’s native git client but the behavior may be different from official git. If this is an issue, please use an image that has official git and ssh installed.
Enumerating objects: 77, done.
Counting objects: 100% (77/77), done.
Compressing objects: 100% (54/54), done.
Total 77 (delta 31), reused 63 (delta 17), pack-reused 0
object not found
That is mighty strange as it is the exact same workflow that works fine in the untagged build: same code.
Hi @yanngolanski! You haven’t mentioned what you’re pushing. Your untagged workflow’s job is configured to ignore all tags, but it’ll run in response to anything else you push. It might be helpful to know what git operations you’re running.
Based on what you’ve provided this is some strange behavior. We’re going to have to investigate a little deeper.
If you haven’t already, would you mind opening a support ticket? You can link to this thread. Support can dig into your actual account and workflows to better understand what’s going on. We’d really appreciate it!
It looks like you have been caught out by the slight disconnect between branch and tag filters: if there are no branch filters, they will all build, while tags require explicit inclusion to build. See more at Configuring CircleCI - CircleCI