Commit ed8a8a0
authored
fix: docs sync PR step — stage and commit review items before creating PR (CopilotKit#3779)
## Summary
- Fixes the \"Create PR for review items\" step in the docs sync
workflow
- The step was creating a branch but never staging/committing the
review-item files before calling `gh pr create`, causing `No commits
between main and docs-sync-review/...`
- Now stages remaining content changes, commits them, pushes the branch,
then creates the PR
- If no review items are actually changed, exits cleanly instead of
failing
## Test plan
- [ ] Trigger docs sync workflow manually and verify it handles both
`auto_push` and `push_and_pr` paths
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
101 | 110 | | |
102 | 111 | | |
103 | 112 | | |
| |||
0 commit comments