-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
invalid query parameter: flag #6653
Comments
Hello @bubkoo ! 👋🏻 Well yes, this is expected, Shields.io defines its own set of query parameters, |
Ah okay, sorry for the confusion! I hadn't clocked that we did also support a Our code enforces the following constraints for this parameter:
However, things have loosened up according to the Codecov documentation, upper case letters as well as hyphens and dots now seem to be supported. Could you please submit a pull request to fix this? |
Flags Must consist only of alphanumeric characters, '_', '-', or '.' and not exceed 45 characters. Flag names will be validated against the following regex. ^[\w\.\-]{1,45}$ re badges#6653
Resolved via acdbe7e |
Are you experiencing an issue with...
🪲 Description
badge with codecov's link https://codecov.io/gh/antvis/x6/branch/master/graph/badge.svg?flag=x6-vector
badge generated by shields.io throw error: https://img.shields.io/codecov/c/github/antvis/x6?flag=x6-vector&label=codecov&logo=codecov&token=15CO54WYUV
🔗 Link to the badge
https://img.shields.io/codecov/c/github/antvis/x6?flag=x6-vector&label=codecov&logo=codecov&token=15CO54WYUV
💡 Possible Solution
The text was updated successfully, but these errors were encountered: