name: 'Update Documentation'
on:
  workflow_dispatch:

# Keep these permissions in sync with the reusable workflow referenced below.
permissions:
  contents: write
  pull-requests: write

jobs:
  run:
    uses: __UPSTREAM_REPO__/.github/workflows/gh-update-documentation.yml@main
    secrets:
      POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
      POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
      POE_API_KEY: ${{ secrets.POE_API_KEY }}
    with:
      GITHUB_REPOSITORY: ${{ github.repository }}
