Skip to content

Commit

Permalink
fix: update PR template comment handling
Browse files Browse the repository at this point in the history
Improved the instructions for handling comments in the PR body template to ensure text within comment tags is appropriately excluded in the final output.
  • Loading branch information
rodrigoluizs committed Dec 12, 2024
1 parent 5ffc429 commit 1a9c82a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/prompts/git-change-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ constraints:
## Issue Reference
Closes # <!-- *add the issue number if applicable* -->

5. in the pr body template, the content within '<!--' and '-->' represents the template itself, when you create the PR body the final text should not be within '<!--' and '-->' otherwise it will not appear in the Github UI
6. if I don't mention that it closes a specific issue, omit the Issue Reference section
5. In the PR body template, do not return any text that appears within `<!--` and `-->` in the original template. Replace these placeholders with meaningful content.
6. If I don't mention that it closes a specific issue, omit the "Issue Reference" section entirely from the output.

Please provide the following output in JSON format with these keys:
{
Expand Down

0 comments on commit 1a9c82a

Please sign in to comment.