Build on secondary branches as well
Building only on the main branches has some drawbacks:
- no test is run before changes are landed
- the "merge only when pipeline succeed" settings make it impossible to merge changes
To fix that, always build things but only publish when on the default branch.