Aritra karan47 patch 13 #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Living Docs Sync | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| sync-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout living-docs agent | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: anikchand461/The-living-docs | |
| path: living-docs-agent | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| cd living-docs-agent | |
| pip install google-genai httpx pydantic pydantic-settings typer rich \ | |
| structlog unidiff tenacity python-dotenv fastapi uvicorn | |
| - name: Run living-docs agent | |
| env: | |
| GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} | |
| NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }} | |
| NOTION_PAGE_ID: ${{ secrets.NOTION_PAGE_ID }} | |
| REPO: ${{ github.repository }} | |
| CONFIDENCE_THRESHOLD: 30 | |
| DATABASE_URL: sqlite:///./living-docs.db | |
| WEBHOOK_SECRET: ${{ secrets.WEBHOOK_SECRET }} | |
| run: | | |
| cd living-docs-agent | |
| python -c "import os; print('GROQ set:', bool(os.environ.get('GROQ_API_KEY'))); print('NOTION set:', bool(os.environ.get('NOTION_API_KEY')))" | |
| PYTHONPATH=. python -m cli.main run pr ${{ github.event.pull_request.number }} |