diff --git a/.github/workflows/claude-docs-updater.yml b/.github/workflows/claude-docs-updater.yml index e61abfc6..29a9fd03 100644 --- a/.github/workflows/claude-docs-updater.yml +++ b/.github/workflows/claude-docs-updater.yml @@ -12,13 +12,12 @@ on: jobs: update-docs: # Only run if changes were merged (not direct pushes from bots) - if: github.event.pusher.name != 'github-actions[bot]' && github.event.pusher.name != 'dependabot[bot]' + if: github.actor != 'github-actions[bot]' && github.actor != 'dependabot[bot]' runs-on: ubuntu-latest permissions: contents: write pull-requests: write issues: write - id-token: write steps: - name: Checkout repository uses: actions/checkout@v4 @@ -59,6 +58,7 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} timeout_minutes: "30" mode: "agent" + github_token: ${{ secrets.GITHUB_TOKEN }} experimental_allowed_domains: | .anthropic.com .github.com