Skip to content

Commit 507747f

Browse files
committed
fix: wrong name classification as github handle
Signed-off-by: Mouad BANI <mouad-mb@outlook.com>
1 parent 74e94b0 commit 507747f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • services/apps/packages_worker/src/security-contacts/extractors/registry

services/apps/packages_worker/src/security-contacts/extractors/registry/rubygems.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ export function mapRubygemsOwners(
5252
const key = email.toLowerCase()
5353
if (seen.has(key)) continue
5454
seen.add(key)
55-
const handle = typeof o.handle === 'string' ? o.handle : undefined
55+
// RubyGems handles are not GitHub logins — stored as `name`, not `handle`, so
56+
// identityLinkMerge (reconcile.ts) never cross-links them to a github-handle contact.
57+
const name = typeof o.handle === 'string' ? o.handle : undefined
5658
contacts.push({
5759
channel: 'email',
5860
value: email,
59-
handle,
61+
name,
6062
role: 'maintainer',
6163
tier: 'B',
6264
provenance: prov(),

0 commit comments

Comments
 (0)