I have a Github action workflow that should get triggered on push. It works fine for new commits added to an existing branch but it skips execution when I try to create a new branch. I suspect the paths-ignore filter is the problem here. I want it to execute on new branch creation as well. I have already tried on
create event but that introduces another problem. When I publish a new release the build gets executed which should not happen.
Can anyone help me figure out how to tackle this problem?
name: build on: push: paths-ignore: - 'docs/**' - 'deploy/helm/**' - 'changelogs/**'