I want to trigger a build workflow when there is a change in a specified path in any commit pushed to any branch and also when a PR/commit is merged/pushed to master.
I tried defining it this way
on: push: branches: - master paths: 'mypath/**'
When something is merged/pushed to master this doesn’t trigger the workflow. Is there any war around this?