Skip to content

Validate gem name against protected typos when creating pending trusted publisher - #6330

Open
Hemang360 wants to merge 3 commits into
rubygems:masterfrom
Hemang360:gem-name-validation
Open

Validate gem name against protected typos when creating pending trusted publisher#6330
Hemang360 wants to merge 3 commits into
rubygems:masterfrom
Hemang360:gem-name-validation

Conversation

@Hemang360

@Hemang360 Hemang360 commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Adds GemTypo validation to OIDC::PendingTrustedPublisher on create, so names too similar to existing protected gems (e.g. type_kit vs typekit) are rejected upfront instead of at gem push time.

Closes #6273

@codecov

codecov Bot commented Mar 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.49%. Comparing base (58b23ae) to head (f8994e4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6330      +/-   ##
==========================================
- Coverage   97.08%   94.49%   -2.59%     
==========================================
  Files         489      489              
  Lines       10386    10451      +65     
==========================================
- Hits        10083     9876     -207     
- Misses        303      575     +272     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jenshenny
jenshenny self-requested a review July 6, 2026 22:57
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

Successfully merging this pull request may close these issues.

Gem name should be validated before creating a pending trusted publisher

2 participants