sourcebot/configs/multi-branch.json

26 lines
807 B
JSON
Raw Normal View History

2024-11-07 02:28:10 +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"
]
}
}
2024-11-07 02:28:10 +00:00
}