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(schemas): remove 'email' format for 'email' property in committer.schema.json #678

Merged
merged 2 commits into from
Jul 21, 2022

Conversation

oscard0m
Copy link
Member

Description

  • Remove format: email for "email" property in committer.schema.json
  • Added a new schema example to validate emails with special characters are validated
  • Regenerate index.json

Context

emails aren't compliant with the RFC, not because of anything related to the JSON schema itself.

RFC 5322 Section 3.4 defines valid email addresses here: https://datatracker.ietf.org/doc/html/rfc5322#section-3.4

Example of not supported format:
41898282+github-actions[bot]@users.noreply.github.com

Fixes #453

Alternative solutions

To use the existing pattern from ajv-format for email and cover the use-case of emails. (#677)

Discussion on-going in #453

@ghost ghost added this to Inbox in JS Jul 21, 2022
@oscard0m oscard0m added the Type: Bug Something isn't working as documented label Jul 21, 2022
@oscard0m oscard0m requested a review from wolfy1339 July 21, 2022 07:59
@ghost ghost moved this from Inbox to Bugs in JS Jul 21, 2022
@oscard0m oscard0m force-pushed the disable-format-for-email-in-commit-schema branch from a609bd1 to badef53 Compare July 21, 2022 08:11
@wolfy1339 wolfy1339 merged commit e410fa0 into master Jul 21, 2022
@wolfy1339 wolfy1339 deleted the disable-format-for-email-in-commit-schema branch July 21, 2022 10:17
JS automation moved this from Bugs to Done Jul 21, 2022
@octokitbot
Copy link
Collaborator

🎉 This PR is included in version 6.2.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
3 participants