labeler icon indicating copy to clipboard operation
labeler copied to clipboard

How to set the label color

Open juzi214032 opened this issue 4 years ago • 12 comments

juzi214032 avatar Jun 11 '20 14:06 juzi214032

~This is not really a question for this project, but~ here is a way to do it manually:

As described here, if you have write permission to a repo, you can click edit on a label on https://github.com/<user>/<repo>/labels, and that will allow you to change its color.

RasmusWL avatar Sep 09 '20 07:09 RasmusWL

It could be possibly be added as a feature. Using the create label api we could create labels before adding them to the PR rather than just using the add label api. In the v3+ syntax we have an object for labels instead of list of string, so we could add a color or description, anything the api supports

dakale avatar Sep 09 '20 14:09 dakale

@dakale that'd be awesome that'd make the action even more useful as it would allow you to capture your repo's labels as code.

onelapahead avatar Dec 04 '20 16:12 onelapahead

Any updates here? Would bring incredible benefit.

BioPhoton avatar Jun 26 '21 20:06 BioPhoton

:+1:

fangpinsern avatar Nov 23 '21 12:11 fangpinsern

bump.. lol

pulanski avatar Apr 02 '22 01:04 pulanski

+1 Would love to control colours from the labeller configuration.

hyp0th3rmi4 avatar May 06 '22 01:05 hyp0th3rmi4

After a bit of investigation it seems that the the Octokit client does not supporting the definition of the label colour when the label is being added to the issue. This will require the labeller to Create/Update the labels first and them apply them to the PR.

hyp0th3rmi4 avatar May 06 '22 02:05 hyp0th3rmi4

Interested in this feature as well.

adam-watson-intel avatar Nov 10 '22 20:11 adam-watson-intel

Interested in this feature as well.

iajoiner avatar Dec 21 '22 15:12 iajoiner

@MaksimZhukov PR created :)

overbit avatar Sep 22 '23 13:09 overbit