From b3d9cee58d2ee65aa46e9d86a9600f0061ee193b Mon Sep 17 00:00:00 2001 From: darui3018823 <151906210+darui3018823@users.noreply.github.com> Date: Mon, 6 Jul 2026 19:01:11 +0900 Subject: [PATCH] Allow Claude to run pnpm commands in the Actions sandbox --- .github/workflows/claude.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 6b15fac..e33f680 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -43,8 +43,6 @@ jobs: # Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it. # prompt: 'Update the pull request description to include a summary of changes.' - # Optional: Add claude_args to customize behavior and configuration - # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md - # or https://code.claude.com/docs/en/cli-reference for available options - # claude_args: '--allowed-tools Bash(gh pr *)' - + # Allow Claude to run pnpm (install / lint / test / build) inside the Actions sandbox + claude_args: | + --allowedTools "Bash(pnpm:*)"