chore: fix CI of claude code docs updater
This commit is contained in:
4
.github/workflows/claude-docs-updater.yml
vendored
4
.github/workflows/claude-docs-updater.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user