Is there any way to prevent automatic build?

Hi, we have a use case where we would like to only start builds manually with:

https://docs.drone.io/api/endpoints/builds/build_start/

IE, git commits don’t trigger a build. Is there any way to configure this?

Would you consider using this endpoint instead: https://github.com/drone/drone/issues/2679 ?

When you create a build using this endpoint, the event type is custom assuming you are using the latest version of Drone. This means you can limit execution to custom events which will in turn ignore push, pull request and tag events.

trigger:
  event:
  - custom