Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add color to labels #2765

Closed
pascalgulikers opened this issue Feb 15, 2024 · 1 comment
Closed

Add color to labels #2765

pascalgulikers opened this issue Feb 15, 2024 · 1 comment

Comments

@pascalgulikers
Copy link

Subject of the issue

When adding (new) labels to a PR, I would like to specify the color of this label. Is that possible?

Steps to reproduce

If this issue is describing a possible bug please provide (or link to) your GitHub Actions workflow.

@peter-evans
Copy link
Owner

Hi @pascalgulikers

It's not currently possible with this action. Technically, it might be possible to add the feature, but it would be an awkward interface and complicate the logic quite a bit. At the moment I think I would prefer to not include this feature.

As a workaround, you could execute a step after this action to change the color of labels. You want to execute this API, perhaps using github-script action, or octokit's request-action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants