Are you experiencing an issue with...
:beetle: Description
Can't override labelColor with custom endpoint badge.
https://img.shields.io/endpoint
Here it says that labelColor should be overridable by query string, but I can't seem to get it to work. My other badges work fine, it's just this one that doesn't.
:link: Link to the badge
:bulb: Possible Solution
🤷♀️
Hi, thanks for the report. I think because that badge is an error badge, it's preventing the query string color overrides from applying.
I think in your case you should not set { isError: true } on a build failure. A build failure is not an error. Reserve { isError: true } for situations where someone asks for a project that doesn't exist, or if a server error occurs.
If you're interested, it would be great to have a PR to improve the documentation around these aspects of the badge!
Paging @Atrox, who wrote Atrox/github-actions-badge
Thanks for the ping. It is good to know that isError should not be set in that case. I'll fix it in my project.
PS: thank you very much for shields.io
Most helpful comment
Thanks for the ping. It is good to know that
isErrorshould not be set in that case. I'll fix it in my project.PS: thank you very much for shields.io