Skip to content

Commit 4ce66f2

Browse files
committed
bugfix-314-error-merging-release-branch-after-successful-deployment: Update pull request description template in CLI and GitHub Action to streamline output format. Clarified instructions to eliminate preamble and commentary, ensuring a more direct and structured presentation of PR descriptions.
1 parent 2a02b9a commit 4ce66f2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

build/cli/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53456,11 +53456,12 @@ const TEMPLATE = `You are in the repository workspace. Your task is to produce a
5345653456
- **Breaking Changes:** list any, or "None".
5345753457
- **Notes for Reviewers / Additional Context:** fill only if useful; otherwise a short placeholder or omit.
5345853458
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.
53459+
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.
5345953460

5346053461
**Issue description:**
5346153462
{{issueDescription}}
5346253463

53463-
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.`;
53464+
Output only the filled template content (the PR description body), starting with the first heading. No preamble, no commentary.`;
5346453465
function getUpdatePullRequestDescriptionPrompt(params) {
5346553466
return (0, fill_1.fillTemplate)(TEMPLATE, {
5346653467
projectContextInstruction: params.projectContextInstruction,

build/github_action/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48537,11 +48537,12 @@ const TEMPLATE = `You are in the repository workspace. Your task is to produce a
4853748537
- **Breaking Changes:** list any, or "None".
4853848538
- **Notes for Reviewers / Additional Context:** fill only if useful; otherwise a short placeholder or omit.
4853948539
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.
48540+
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.
4854048541

4854148542
**Issue description:**
4854248543
{{issueDescription}}
4854348544

48544-
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.`;
48545+
Output only the filled template content (the PR description body), starting with the first heading. No preamble, no commentary.`;
4854548546
function getUpdatePullRequestDescriptionPrompt(params) {
4854648547
return (0, fill_1.fillTemplate)(TEMPLATE, {
4854748548
projectContextInstruction: params.projectContextInstruction,

0 commit comments

Comments
 (0)