ci: give claude-code-action pnpm and gh tooling for build+PR#500
Merged
kronosapiens merged 1 commit intomainfrom Apr 22, 2026
Merged
ci: give claude-code-action pnpm and gh tooling for build+PR#500kronosapiens merged 1 commit intomainfrom
kronosapiens merged 1 commit intomainfrom
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 buildthe prompt already asks for could not run.This PR sets up pnpm + Node 24 (matching
build.yaml), grantsBash(pnpm:*),Bash(gh:*)viaclaude_args, and temporarily enablesshow_full_outputto surface any remaining denials in the next run's logs.Commits still flow through the built-in GitHub MCP file ops — no raw
git pushpermission needed.Verify by commenting
@claudeon #498 after merge and checking that a PR is drafted.