collab: Seed GitHub users from static data (#18301)

This PR updates the collab seed script to seed the GitHub users from a
set of static data.

This removes the need to hit the GitHub API to retrieve these users.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-09-24 16:35:09 -04:00 committed by GitHub
parent 692590bff4
commit d2ffad0f34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 629 additions and 66 deletions

View file

@ -23,8 +23,7 @@ To use a different set of admin users, create `crates/collab/seed.json`.
```json
{
"admins": ["yourgithubhere"],
"channels": ["zed"],
"number_of_users": 20
"channels": ["zed"]
}
```