Action on repo creation

Is it possible to define a trigger when creating a repo?

I have been checking trigger workflow page, but I couldn’t find it. Or at least its not clear.


Well, you first need to add a workflow file to a repository before it can get triggered, which means that the repository must be created before you can add a workflow. Hence, the answer is no.

However, there is a webhook type repository that can have the action value of created. Maybe that is an option for you?