File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,11 +108,13 @@ jobs:
108108 claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
109109 # When claude.yml routes an `@claude review` comment here, it
110110 # dispatches this workflow via `gh workflow run`, so the run's
111- # actor is github-actions[bot]. Without allowing that bot the
112- # action aborts with "Workflow initiated by non-human actor" and
113- # posts no review. The job `if:` already restricts dispatched runs
114- # to same-repo, non-Dependabot PRs, so accepting the bot here is safe.
115- allowed_bots : " github-actions[bot]"
111+ # actor is github-actions[bot]. A `claude` remote session pushing
112+ # a commit to a PR fires `synchronize` with the `claude` bot as
113+ # actor. Without allowing these bots the action aborts with
114+ # "Workflow initiated by non-human actor" and posts no review. The
115+ # job `if:` already restricts runs to same-repo, non-Dependabot
116+ # PRs, so accepting these bots here is safe.
117+ allowed_bots : " github-actions[bot],claude"
116118 plugin_marketplaces : ' https://github.com/anthropics/claude-code.git'
117119 # `claude-code-plugins` is a branch name, not a version tag.
118120 # Intentionally unpinned so we pick up future improvements to the
You can’t perform that action at this time.
0 commit comments