Add catch-all email group and platform filtering (#3)
- Add catch-all email group with admin-adam@modelcontextprotocol.io - Add onlyOnPlatforms configuration to restrict groups to specific platforms - Set antitrust and catch-all groups to Google only - Groups default to all platforms when onlyOnPlatforms is not specified
This commit is contained in:
parent
83c4314971
commit
0289b61df4
1 changed files with 24 additions and 0 deletions
|
|
@ -6,6 +6,9 @@ import { MEMBERS } from './config/users';
|
|||
const teams: Record<string, github.Team> = {};
|
||||
|
||||
GROUPS.forEach((group: Group) => {
|
||||
// Skip groups that don't include github in their platforms
|
||||
if (group.onlyOnPlatforms && !group.onlyOnPlatforms.includes('github')) return;
|
||||
|
||||
teams[group.name] = new github.Team(group.name, {
|
||||
name: group.name,
|
||||
description: group.description + ' \n(Managed by github.com/modelcontextprotocol/access)',
|
||||
|
|
|
|||
Loading…
Reference in a new issue