Skip to content

ci: give claude-code-action pnpm and gh tooling for build+PR#500

Merged
kronosapiens merged 1 commit intomainfrom
kronosapiens/auto-pr-issue-498
Apr 22, 2026
Merged

ci: give claude-code-action pnpm and gh tooling for build+PR#500
kronosapiens merged 1 commit intomainfrom
kronosapiens/auto-pr-issue-498

Conversation

@kronosapiens
Copy link
Copy Markdown
Collaborator

The @claude trigger on defrag-analysis issues (#498) completed but produced no branch or PR, and 16 tool calls were denied.
Root cause: claude-code-action v1 disallows arbitrary Bash by default, and the workflow also lacks Node/pnpm, so the pnpm run build the prompt already asks for could not run.
This PR sets up pnpm + Node 24 (matching build.yaml), grants Bash(pnpm:*),Bash(gh:*) via claude_args, and temporarily enables show_full_output to surface any remaining denials in the next run's logs.
Commits still flow through the built-in GitHub MCP file ops — no raw git push permission needed.
Verify by commenting @claude on #498 after merge and checking that a PR is drafted.

Previous runs on defrag-analysis issues hit tool permission denials and
produced no branch or PR. Grant pnpm (for pnpm run build) and gh (for
opening PRs) via claude_args, and set up Node/pnpm on the runner so the
build step the prompt already asks for can actually execute. Enable
show_full_output temporarily to surface any remaining denials.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
book Ready Ready Preview Apr 22, 2026 6:23pm

Request Review

@kronosapiens kronosapiens merged commit 3f9ca98 into main Apr 22, 2026
2 checks passed
@kronosapiens kronosapiens deleted the kronosapiens/auto-pr-issue-498 branch April 22, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant