sourcebot/configs/basic.json

56 lines
1.6 KiB
JSON
Raw Permalink Normal View History

2024-10-17 20:31:18 +00:00
{
"$schema": "../schemas/v3/index.json",
2024-10-17 20:31:18 +00:00
// Note: to include private repositories, you must provide an authentication token.
// See: configs/auth.json for a example.
"connections": {
2024-10-17 20:31:18 +00:00
// From GitHub, include:
// - all public repos owned by user `torvalds`
// - all public repos owned by organization `commai`
// - repo `sourcebot-dev/sourcebot`
"example-1": {
2024-10-17 20:31:18 +00:00
"type": "github",
"users": [
"torvalds"
],
"orgs": [
"commaai"
],
"repos": [
"sourcebot-dev/sourcebot"
]
},
// From GitLab, include:
// - all public projects owned by user `brendan67`
// - all public projects in group `my-group` and sub-group `sub-group`
// - project `my-group/project1`
"example-2": {
2024-10-17 20:31:18 +00:00
"type": "gitlab",
"users": [
"brendan67"
],
"groups": [
"my-group",
"my-other-group/sub-group"
],
"projects": [
"my-group/project1"
]
2024-11-01 17:51:14 +00:00
},
// From Gitea, include:
// - all public repos owned by user `my-user`
// - all public repos owned by organization `my-org`
// - repo `my-org/my-repo`
"example-3": {
2024-11-01 17:51:14 +00:00
"type": "gitea",
"users": [
"my-user"
],
"orgs": [
"my-org"
],
"repos": [
"my-org/my-repo"
]
2024-10-17 20:31:18 +00:00
}
}
2024-10-17 20:31:18 +00:00
}