You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@phpstan-bot In the org-wide workflow, I want to switch to Claude CLI instead of the Claude GitHub Action. Install the CLI with npm install -g @anthropic-ai/claude-code and built a prompt similar to the action - "You're in repository X, blablabla, make this change, send a PR..."
@phpstan-bot In the org-wide workflow, I want to switch to Claude CLI instead of the Claude GitHub Action. Install the CLI with npm install -g @anthropic-ai/claude-code and built a prompt similar to the action - "You're in repository X, blablabla, make this change, send a PR..."
Send a PR with the change.
Also I want to fix the react-on-comment workflow so that it works properly on issue.opened. Apparently the github.event.comment.body || github.event.review.body is empty in that case and the issue description is in a different field.
Read current workflow files and understand the setup
Switch org-wide workflow to Claude CLI instead of GitHub Action
Fix issue.opened event handling for empty comment body
Commit, push, and create PR
Summary
claude-org-wide.yml — Replaced anthropics/claude-code-action@v1 with direct Claude CLI usage:
Added Node.js setup (actions/setup-node@v4)
Installs CLI via npm install -g @anthropic-ai/claude-code
Configures git identity for phpstan-bot[bot]
Runs claude -p with a prompt that includes the repository name and the issue comment body, using --model claude-opus-4-6 and --dangerously-skip-permissions
Authentication via CLAUDE_CODE_OAUTH_TOKEN env var, GitHub operations via GH_TOKEN
Added github.event.issue.body to the COMMENT_BODY fallback chain (github.event.comment.body || github.event.review.body || github.event.issue.body || '') so the trigger phrase is correctly detected when an issue is opened
Activity
ondrejmirtes commentedon Feb 19, 2026
@phpstan-bot In the org-wide workflow, I want to switch to Claude CLI instead of the Claude GitHub Action. Install the CLI with npm install -g @anthropic-ai/claude-code and built a prompt similar to the action - "You're in repository X, blablabla, make this change, send a PR..."
Send a PR with the change.
Also I want to fix the react-on-comment workflow so that it works properly on issue.opened. Apparently the
github.event.comment.body || github.event.review.bodyis empty in that case and the issue description is in a different field.phpstan-bot commentedon Feb 19, 2026
Claude finished @ondrejmirtes's task in 3m 34s —— View job •
claude/issue-9-20260219-0720• Create PR ➔Changes completed
issue.openedevent handling for empty comment bodySummary
claude-org-wide.yml— Replacedanthropics/claude-code-action@v1with direct Claude CLI usage:actions/setup-node@v4)npm install -g @anthropic-ai/claude-codephpstan-bot[bot]claude -pwith a prompt that includes the repository name and the issue comment body, using--model claude-opus-4-6and--dangerously-skip-permissionsCLAUDE_CODE_OAUTH_TOKENenv var, GitHub operations viaGH_TOKENclaude-react-on-comment.yml— Fixedissue.openedtrigger:github.event.issue.bodyto theCOMMENT_BODYfallback chain (github.event.comment.body || github.event.review.body || github.event.issue.body || '') so the trigger phrase is correctly detected when an issue is opened|
Switch org-wide workflow to Claude CLI and fix issue.opened trigger