I recently enabled the “build only pull requests” setting for a repo and also changed the default branch from
dev. I expected pushes to
dev to trigger new builds, but that doesn’t seem to be the case–when I look at
dev builds they all say “not run” with a message about the “build only pull requests” setting, until I manually re-trigger the build. On repositories where the default branch has been
dev from the start, pushes to
dev trigger builds as normal even when the “build only pull requests” setting is selected.
I’d really appreciate any suggestions for a how to resolve this for the specific repo–some tooling that I just wrote depends on building when pull requests are initiated, but it’s very annoying to not get our default branch built!