Skip to content

Commit 2a02b9a

Browse files
committed
bugfix-314-error-merging-release-branch-after-successful-deployment: Update pull request description template to clarify output format requirements. Removed unnecessary preamble and commentary instructions, ensuring a more concise and structured output for PR descriptions.
1 parent 08014fd commit 2a02b9a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/prompts/update_pull_request_description.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ const TEMPLATE = `You are in the repository workspace. Your task is to produce a
2525
- **Breaking Changes:** list any, or "None".
2626
- **Notes for Reviewers / Additional Context:** fill only if useful; otherwise a short placeholder or omit.
2727
5. Do not output a single compact paragraph. Output the full filled template so the PR description is well-structured and easy to scan. Preserve the template's formatting (headings with # and ##, horizontal rules). Use checkboxes \`- [ ]\` / \`- [x]\` only where they add value; you may simplify or drop a section if it does not apply.
28+
6. **Output format:** Return only the filled template content. Do not add any preamble, meta-commentary, or framing phrases (e.g. "Based on my analysis...", "After reviewing the diff...", "Here is the description..."). Start directly with the first heading of the template (e.g. # Summary). Do not wrap the output in code blocks.
2829
2930
**Issue description:**
3031
{{issueDescription}}
3132
32-
Output only the filled template content (the PR description body), starting with the first heading of the template (e.g. # Summary). Do not wrap it in code blocks or add extra commentary.`;
33+
Output only the filled template content (the PR description body), starting with the first heading. No preamble, no commentary.`;
3334

3435
export type UpdatePullRequestDescriptionParams = {
3536
projectContextInstruction: string;

0 commit comments

Comments
 (0)