Commit 62f6824
authored
fix(workflows): push branch before creating PR in Amber workflow (#383)
## Fix
Adds step after Claude Code execution to ensure branch exists on remote
before PR creation.
## Problem
The workflow was trying to create a PR using a branch that hadn't been
pushed to the remote yet, causing:
```
Validation Failed: {"resource":"PullRequest","field":"head","code":"invalid"}
```
## Solution
- Added "Push branch to remote" step after changes are detected
- Runs before PR creation step
- Uses `git push -u origin $BRANCH_NAME`
🤖 Generated with Claude Code1 parent 6c85216 commit 62f6824
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
238 | 246 | | |
239 | 247 | | |
240 | 248 | | |
| |||
0 commit comments