2024-11-07 02:28:10 +00:00
|
|
|
{
|
2025-04-01 17:26:46 +00:00
|
|
|
"$schema": "../schemas/v3/index.json",
|
|
|
|
|
"connections": {
|
|
|
|
|
"example-1": {
|
2024-11-07 02:28:10 +00:00
|
|
|
"type": "github",
|
|
|
|
|
"revisions": {
|
|
|
|
|
// Specify branches to index...
|
|
|
|
|
"branches": [
|
|
|
|
|
"main",
|
|
|
|
|
"release/*"
|
|
|
|
|
],
|
|
|
|
|
// ... or specify tags
|
|
|
|
|
"tags": [
|
|
|
|
|
"v*.*.*"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
// For each repo (repoa, repob), Sourcebot will index all branches and tags in the repo
|
|
|
|
|
// matching the `branches` and `tags` patterns above. Any branches or tags that don't
|
|
|
|
|
// match the patterns will be ignored and not indexed.
|
|
|
|
|
"repos": [
|
|
|
|
|
"org/repoa",
|
|
|
|
|
"org/repob"
|
|
|
|
|
]
|
|
|
|
|
}
|
2025-04-01 17:26:46 +00:00
|
|
|
}
|
2024-11-07 02:28:10 +00:00
|
|
|
}
|