Skip to content

Commit 826faf4

Browse files
authored
Merge branch 'main' into claude/issue-108-selective-freeze
2 parents d9f3b68 + 736dba3 commit 826faf4

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)