Another thought - rather than updating the Project Settings to handle specifying multiple branches, maybe it would be easier to provide “PR filtering” on jobs, similar to branch filtering? Something like:
filters
prs
only
- master
^That example would theoretically only run the job for PRs with a target branch of master
. If branch filters and pr filters are both specified, the job should run if either of the conditions are met (not all).