Skip to content

Commit bf866fc

Browse files
committed
fix(workflows): add explicit PR creation steps to claude issue workflow
1 parent 6e13e86 commit bf866fc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/claude.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,14 @@ jobs:
230230
If ANY of these conceptual checks fail (excluding routing), add a comment to the issue explaining why and close it. Do NOT create a PR.
231231
232232
STEP 3 — IMPLEMENT (for changes in THIS repo — PraisonAI):
233-
- Create a fix branch and implement a minimal, focused fix
233+
- Create a fix branch: git checkout -b claude/issue-$ISSUE_NUMBER-$(date +%Y%m%d)
234+
- Implement a minimal, focused fix
234235
- Follow protocol-driven design: protocols in core SDK, heavy implementations in wrapper
235236
- Keep changes small and backward-compatible
237+
- Commit: git add -A && git commit -m "fix: <description> (fixes #$ISSUE_NUMBER)"
238+
- Push: git push origin claude/issue-$ISSUE_NUMBER-$(date +%Y%m%d)
239+
CRITICAL: After pushing, you MUST immediately run: gh pr create --title "fix: <title>" --body "Fixes #$ISSUE_NUMBER" --head claude/issue-$ISSUE_NUMBER-$(date +%Y%m%d)
240+
Do NOT stop after pushing. Do NOT say "manually create a PR". Always create the PR automatically.
236241
237242
STEP 3-ALT — IMPLEMENT IN EXTERNAL REPO (for PraisonAI-Tools, PraisonAIDocs, PraisonAI-Plugins):
238243
When work must happen in a different repository, follow these steps EXACTLY. Do NOT attempt to use `cd`, as directory state is not preserved. Use `git -C` for all commands.

0 commit comments

Comments
 (0)