Define Labels within the repository

Hi folks,

is it currently possible to define the labels available from within the repository?

I’d really like to be able to offer a json file that just defines them and is automatically picked up (maybe when placing a ‘.github/labels.json’ file in it).

I’m maintaining a template system and creating plenty of repositories - either for myself or for organizations I am supporting - and it would be great if I could define those centrally, without having to use the API to apply a set of desired labels.

Cheers and thanks for any input

No it is not possible by placing them in a file somewhere in the repo.

You could, however, write a script that does that trough the GH API. See this link for more info: .