Hi,
I’m finding I always change the same flags for new projects (don’t trigger on PR, trusted on, viewable internal). Is there a way to make these default?
Hi,
I’m finding I always change the same flags for new projects (don’t trigger on PR, trusted on, viewable internal). Is there a way to make these default?
This could be achieved using global webhooks [1]. You would setup a small service that receives the webhook, and when a project is activated, uses the API to set these default values. For API integration I recommend using the official Go client [2].
[1] http://docs.drone.io/configure-system-webhooks/
[2] https://github.com/drone/drone-go