Skip to content

Commit 6c85216

Browse files
authored
fix(workflows): configure claude-code-action branch prefix for Amber (#382)
## Fix Configures `branch_prefix: "amber/"` for the `claude-code-action` to match the manually created branches. ## Problem The workflow manually creates branches with `amber/` prefix, but the `claude-code-action` was using default `claude/` prefix, causing PR creation to fail with: ``` Validation Failed: {"resource":"PullRequest","field":"head","code":"invalid"} ``` ## Solution - Added `branch_prefix: "amber/"` to the action configuration - This aligns the action's branch management with our manually created branches - Ensures commits are pushed to the correct remote branch 🤖 Generated with Claude Code
1 parent 12a3d20 commit 6c85216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/amber-issue-handler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ jobs:
218218
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
219219
github_token: ${{ secrets.GITHUB_TOKEN }}
220220
prompt: ${{ steps.read-prompt.outputs.prompt }}
221+
branch_prefix: "amber/" # Use amber/ prefix to match manually created branch
221222

222223
- name: Check if changes were made
223224
id: check-changes

0 commit comments

Comments
 (0)