This yields unexpected results for developers who like to namespace their branches (e.g. `feature/news` or `fix/bug`) — can we split on `refs/heads` instead?