himynameisdave / git-labelmaker

:flags: Manage your GitHub labels from the command line!
MIT License
574 stars 33 forks source link

Allow adding description to label #93

Open iforwms opened 5 years ago

iforwms commented 5 years ago

API supports adding description to label, see below:

image

gregoralbrecht commented 5 years ago

Seems like this should be tackled in git-label and someone already opened a PR a while ago.

Yamilquery commented 5 years ago

+1

iforwms commented 5 years ago

@gregoralbrecht I created a very naive implementation written in PHP, and the above pull request won't work (I don't think). I think it's still an experimental feature, so the you will also need to add the following header to the request or descriptions will be ignored.

'Accept' => 'application/vnd.github.symmetra-preview+json'