I want that my GitHub Action that runs all tests doesn't execute when we push a new tag to the master repository because when we merge new branches we execute this action before, and when we push a tag to create a new release this action executes again.
Right now this action starts with this
name: Build and Test on: push As you see this will execute in every push we would make, and I want to change that this action will execute only when we push commits, no tags. My approximate solution would be this but I am not sure
name: Build and Test on: push: branches: - '*' tags-ignore: - '*'