GitLab CI build settings

  1. Is possible to only build on merge requests? I have a lot of repos on my server and build on every commit requires a lot of resources.

  2. On a merge request is the merge actually tested or just the branch prior to merging?

TIA