sourcebot/configs/multi-branch.json
2025-04-01 10:26:46 -07:00

26 lines
No EOL
807 B
JSON

{
"$schema": "../schemas/v3/index.json",
"connections": {
"example-1": {
"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"
]
}
}
}