Distributed Multi-Repository Setup
Set up Simili Bot across multiple repositories with each team managing their own configuration while sharing a unified organization knowledge base. This is Pattern C.Prerequisites
- Multiple GitHub repositories to manage.
- Qdrant API Key & URL.
- Gemini API Key.
- Organization-level GitHub secrets configured.
Setup steps
1
Base configuration (optional)
Create a shared configuration repository (e.g.,
simili-config) with a base-config.yaml to store common settings like Qdrant URL and collection.2
Organization-level secrets
Add
ORG_QDRANT_URL, ORG_QDRANT_API_KEY, and ORG_GEMINI_API_KEY to your organization-level secrets so all repos can access the same knowledge base securely.3
Configure repositories
In each repository, create
.github/simili.yaml extending the shared base:4
Create workflows
In each repository, create
.github/workflows/simili-bot.yml using the organization secrets:5
Test cross-repo search
Open issues with similar topics across different repositories. Simili Bot should identify them as related, even across repository boundaries, providing a unified view of your organization’s issues.
Troubleshooting
Cross-repo search doesn't work
Cross-repo search doesn't work
Ensure
cross_repo_search: true is enabled in your base configuration and all repositories are indexing to exactly the same Qdrant collection.Configuration not found
Configuration not found
Verify the
extends URL is correct and publicly accessible. Ensure you are using the Raw GitHub URL.
