How to copy issue labels between repositories?

Is it possible to easily copy the labels to use for issues from one repository to another?
I want to use the same basic list with many repositories and so far the only way to do this seems to be to manually add them for every single repository, and tediously setting the same colour manually for each of those labels as well. 

4 Likes

I don’t think there’s a built-in way, but you can use the GitHub API to build your own label copier.

See https://gist.github.com/MoOx/93c2853fee760f42d97f and https://gist.github.com/Isaddo/7efebcb673a0957b9c6f07cd14826ea4

2 Likes

I’m trying to do this with the graphql api, but neither CreateLabelInput nor UpdateLabelInput seem to have a description field, so how do I do this with descriptions?