diff --git a/scripts/test-config.ts b/scripts/test-config.ts index 0b43d51f..251a444d 100644 --- a/scripts/test-config.ts +++ b/scripts/test-config.ts @@ -207,9 +207,11 @@ test('Group teams do not inherit from teams outside the groups', () => (id) => roleLookup.get(id)?.github?.parent === undefined )); test('Collaborator teams have no parent team', () => - [ROLE_IDS.REGISTRY_COLLABORATORS, ROLE_IDS.TYPESCRIPT_SDK_COLLABORATORS].every( - (id) => roleLookup.get(id)?.github?.parent === undefined - )); + [ + ROLE_IDS.REGISTRY_COLLABORATORS, + ROLE_IDS.TYPESCRIPT_SDK_COLLABORATORS, + ROLE_IDS.VARIANTS_COLLABORATORS, + ].every((id) => roleLookup.get(id)?.github?.parent === undefined)); test('registry-admins has no parent or child teams', () => roleLookup.get(ROLE_IDS.REGISTRY_ADMINS)?.github?.parent === undefined && ROLES.every((role) => role.github?.parent !== ROLE_IDS.REGISTRY_ADMINS)); diff --git a/src/config/repoAccess.ts b/src/config/repoAccess.ts index a5a9cff1..dd21fee6 100644 --- a/src/config/repoAccess.ts +++ b/src/config/repoAccess.ts @@ -460,6 +460,40 @@ export const REPOSITORY_ACCESS: RepositoryAccess[] = [ repository: 'mcp-spec-tpm', teams: [{ team: 'infrastructure-wg', permission: 'admin' }], }, + // Core and lead maintainers are admins of the repositories below through their + // organization role, so it isn't repeated here. + { + repository: 'actions', + teams: [], + }, + { + repository: 'agents-ig', + teams: [{ team: 'agents-ig', permission: 'push' }], + }, + { + repository: 'dns', + teams: [], + }, + { + repository: 'experimental-ext-variants', + teams: [{ team: 'variants-collaborators', permission: 'push' }], + }, + { + repository: 'ext-server-card', + teams: [{ team: 'server-card-wg', permission: 'push' }], + }, + { + repository: 'mcpb', + teams: [{ team: 'mcpb-maintainers', permission: 'admin' }], + }, + { + repository: 'servers-archived', + teams: [], + }, + { + repository: 'transports-wg', + teams: [{ team: 'transport-wg', permission: 'push' }], + }, ]; // GitHub Projects V2 permissions are NOT managed by Pulumi - no support yet diff --git a/src/config/roleIds.ts b/src/config/roleIds.ts index 2588d46a..9f23649a 100644 --- a/src/config/roleIds.ts +++ b/src/config/roleIds.ts @@ -68,6 +68,7 @@ export const ROLE_IDS = { MCP_APPS_WG: 'mcp-apps-wg', SERVER_CARD_WG: 'server-card-wg', INTERCEPTORS_WG: 'interceptors-wg', + VARIANTS_COLLABORATORS: 'variants-collaborators', // GitHub only (push on experimental-ext-variants) FILE_UPLOADS_WG: 'file-uploads-wg', SKILLS_OVER_MCP_WG: 'skills-over-mcp-wg', SKILLS_OVER_MCP_WG_LEADS: 'skills-over-mcp-wg-leads', diff --git a/src/config/roles.ts b/src/config/roles.ts index 2d81913e..38db556f 100644 --- a/src/config/roles.ts +++ b/src/config/roles.ts @@ -432,6 +432,12 @@ export const ROLES: readonly Role[] = [ github: { team: 'interceptors-wg', parent: ROLE_IDS.WORKING_GROUPS }, discord: { role: 'interceptors working group (synced)' }, }, + { + id: ROLE_IDS.VARIANTS_COLLABORATORS, + description: 'Server variants extension collaborators', + // No parent team: must not inherit access to other repositories + github: { team: 'variants-collaborators' }, + }, { id: ROLE_IDS.FILE_UPLOADS_WG, description: 'File Uploads Working Group', diff --git a/src/config/users.ts b/src/config/users.ts index f4cbdc10..72c1fd81 100644 --- a/src/config/users.ts +++ b/src/config/users.ts @@ -243,7 +243,7 @@ export const MEMBERS: readonly Member[] = [ lastName: 'Degiorgio', discord: '602175181133316105', googleEmailPrefix: 'kdegiorgio', - memberOf: [ROLE_IDS.MEMBERS, ROLE_IDS.INTERCEPTORS_WG], + memberOf: [ROLE_IDS.MEMBERS, ROLE_IDS.INTERCEPTORS_WG, ROLE_IDS.VARIANTS_COLLABORATORS], }, { github: 'dend', @@ -1002,6 +1002,7 @@ export const MEMBERS: readonly Member[] = [ ROLE_IDS.FINANCIAL_SERVICES_IG, ROLE_IDS.INFRASTRUCTURE_WG, ROLE_IDS.INTERCEPTORS_WG, + ROLE_IDS.VARIANTS_COLLABORATORS, ROLE_IDS.SKILLS_OVER_MCP_WG, ROLE_IDS.SKILLS_OVER_MCP_WG_LEADS, ], @@ -1064,7 +1065,7 @@ export const MEMBERS: readonly Member[] = [ firstName: 'Steven', lastName: 'Chen', googleEmailPrefix: 'chenruiyang', - memberOf: [ROLE_IDS.INTERCEPTORS_WG], + memberOf: [ROLE_IDS.INTERCEPTORS_WG, ROLE_IDS.VARIANTS_COLLABORATORS], }, { github: 'sunishsheth2009',