How I built a GitHub Actions connector for Cognee — and what it can do for your AI agents
Описание и применение
Создан коннектор GitHub Actions для Cognee, позволяющий хранить и искать историю CI в памяти ИИ.
Задача
Your CI history lives in GitHub but your AI agent can’t query it.
Результат
The connector ingests workflow definitions, run attempts, and job details, caching unchanged files and supporting incremental sync. It limits results to 1,000 per query and handles deletions via tombstones.
Рабочий процесс
- 1. Install the connector package.
- 2. Create a source with repositories and a GitHub token:
source = github_actions_source(repositories=["owner/repo"], token="..."). - 3. Ingest data into Cognee:
await cognee.remember(source, dataset_name="github_actions"). - 4. Query the ingested data:
answer = await cognee.search("Which workflows failed on main this week?")
Доказательства
Adds a GitHub Actions data-source connector for cognee-community, following the Notion connector conventions.
Workflow definitions — triggers, job names, step names, uses: action references. Raw shell scripts and env/secrets are excluded.
All tests use a fully mocked FakeGitHubClient — no live token required.
- Дата записи: 2026-10-15T12:56:06.403Z