The "only build pull requests" UI option is a project-level feature that does not offer the granularity to, say, have a particular job in your workflow only run on pull requests. Something like the following would be ideal:
triggers: - pull_request_only
CCI-I-612