thehanimo / pr-title-checker

An action to automatically check if pull request titles conform to Contribution Guidelines
MIT License
106 stars 36 forks source link

Color is not set if label already exists in a different color #48

Open GMZwinge opened 6 months ago

GMZwinge commented 6 months ago

If configured label already exists in a different color from the one configured, the color of the label is not updated. One must edit the list of labels and delete the label in the different color for the label to be recreated with the configured color. Also, as a side note, color such as Red1 or red don't seem to work. The hex color such as ff0000 or FF0000 must be used to work.

thehanimo commented 6 months ago

That's a good spot. Updating colours can be done.

Unfortunately, colours have to be hexadecimal. Octokit says:

The color must be a valid hexadecimal color code.