feat: Enhance PR description formatting and update instructions in pr_description_prompts.toml

This commit is contained in:
mrT23
2023-12-20 16:45:21 +02:00
parent 68c26b362b
commit c079deba21
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@ Your task is to provide a full description for the PR content - title, type, des
- Keep in mind that the 'Previous title', 'Previous description' and 'Commit messages' sections may be partial, simplistic, non-informative or out of date. Hence, compare them to the PR diff code, and use them only as a reference.
- The generated title and description should prioritize the most significant changes.
- If needed, each YAML output should be in block scalar indicator ('|-')
- When quoting variables or names from the code, use backticks (`) instead of single quote (').
{%- if extra_instructions %}

View File

@ -371,8 +371,9 @@ class PRDescription:
<summary><strong>{filename_publish}</strong></summary>
<ul>
{filename}<br><br>
<strong>{file_change_description}</strong>
</ul>
**{file_change_description}**
</ul>
</details>
</td>
<td><a href="{link}"> {diff_plus_minus}</a></td>