Automatic activation of repositories

Is there a way to automatically activate repositories as soon as they are created on github organization?

This functionality is not built-in to Drone but you can enhance Drone using its API. For example, you could create a small micro-service that receives organization webhooks [1] from GitHub, and then use the Drone API [2] to sync the repository list and activate [3] the repository.


1 Like

What is the endpoint for syncing the repository list?

Sorry, forgot to include the link. Use

It usually works but sometimes, I have to wait a couple of seconds before repo activation succeeds.