Duplicating pipelines

Hello! I have .yml config with the following first lines:

name: CI

    branches: [ main ]
    tags: 'v*'
    branches: [ main ]


When I push tag I obtain duplicating pipelines (please checkout the last workflow run):
I have git config --global push.followTags true enabled.

How to fix it? My test repo is this one. I want:

  • automatically check main.sh on every commit/tag push to main branch
  • automatically generate installer on every v* tag push to main branch

I have same problem: How to trigger an action on push or create tag but not on both?

Here I’ve solved this problem by creating two different .yml configs. I don’t think it’s perfect solution but it is solution. :slight_smile: