Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions scripts/test-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
34 changes: 34 additions & 0 deletions src/config/repoAccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/config/roleIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
6 changes: 6 additions & 0 deletions src/config/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 3 additions & 2 deletions src/config/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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,
],
Expand Down Expand Up @@ -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',
Expand Down
Loading