Skip to content

Workflow check

Workflow check #2

Workflow file for this run

# .github/workflows/doc-helper.yml
name: Documentation Helper
on:
pull_request:
paths:
- '**.py' # Only run on Python file changes
types: [opened, synchronize]
jobs:
update-docs:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install anthropic gitpython
- name: Run documentation helper
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: python .github/scripts/doc_helper.py