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

fix: fix regex to match [codecov]'s flags #6655

Merged
merged 3 commits into from Jun 24, 2021
Merged

Conversation

bubkoo
Copy link
Contributor

@bubkoo bubkoo commented Jun 23, 2021

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 #6653

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}$
@shields-ci
Copy link

shields-ci commented Jun 23, 2021

Warnings
⚠️ This PR modified service code for codecov but not its test code.
That's okay so long as it's refactoring existing code.
Messages
📖 ✨ Thanks for your contribution to Shields, @bubkoo!

Generated by 🚫 dangerJS against 89c6f7d

@calebcartwright calebcartwright changed the title fix: fix regex to match codecov's flags fix: fix regex to match [codecov]'s flags Jun 23, 2021
@calebcartwright calebcartwright added the service-badge Accepted and actionable changes, features, and bugs label Jun 23, 2021
@shields-cd shields-cd temporarily deployed to shields-staging-pr-6655 June 23, 2021 13:49 Inactive
Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for both reporting the issue and submitting this to fix it! ❤️

The changes look good and indeed resolve the issue:
https://shields-staging-pr-6655.herokuapp.com/codecov/c/github/antvis/x6?flag=x6-vector

@calebcartwright calebcartwright merged commit acdbe7e into badges:master Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants