Currently we only use path-based triggers when pushing to an open PR. We should do the same for branch-based triggers, too.