chore: fix CI of claude code docs updater

This commit is contained in:
Ralph Khreish
2025-08-19 16:11:57 +02:00
parent 8a991587f1
commit 9feb8d2dbf

View File

@@ -12,13 +12,12 @@ on:
jobs: jobs:
update-docs: update-docs:
# Only run if changes were merged (not direct pushes from bots) # 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 runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
pull-requests: write pull-requests: write
issues: write issues: write
id-token: write
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -59,6 +58,7 @@ jobs:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
timeout_minutes: "30" timeout_minutes: "30"
mode: "agent" mode: "agent"
github_token: ${{ secrets.GITHUB_TOKEN }}
experimental_allowed_domains: | experimental_allowed_domains: |
.anthropic.com .anthropic.com
.github.com .github.com