From d290268f83c4c69c6111ef0b8312c96e79c6b3f4 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Sat, 19 Jul 2025 08:26:23 -0700 Subject: [PATCH] fix: run Claude from workflow directory instead of base-action directory (#312) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed the action to cd back to the original directory after installing dependencies, ensuring Claude runs in the context of the user's workflow rather than the base-action subdirectory. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ef4bdac..708219a 100644 --- a/action.yml +++ b/action.yml @@ -193,7 +193,8 @@ runs: # Run the base-action cd ${GITHUB_ACTION_PATH}/base-action bun install - bun run src/index.ts + cd - + bun run ${GITHUB_ACTION_PATH}/base-action/src/index.ts env: # Base-action inputs CLAUDE_CODE_ACTION: "1"