Skip to content

Commit e280206

Browse files
authored
chore: remove ### from prompt file (#170)
- Remove unnecessary `###` markers from template files Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent 3df90d6 commit e280206

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

prompt/templates/conventional_commit.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ Here are the labels you can choose from:
1818

1919

2020
THE FILE SUMMARIES:
21-
###
21+
2222
{{ .summary_points }}
23-
###
2423

2524
Based on the changes described in the file summaries, What's the best label for the commit? Your answer must be one of the labels above. Don't describe the changes, just write the label.

prompt/templates/summarize_file_diff.tmpl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ The output should be easily readable. When in doubt, write less comments and not
2424
Readability is top priority. Write only the most important comments about the diff.
2525

2626
EXAMPLE SUMMARY COMMENTS:
27-
###
27+
2828
- Raise the amount of returned recordings from `10` to `100`
2929
- Fix a typo in the github action name
3030
- Move the `octokit` initialization to a separate file
3131
- Add an OpenAI API for completions
3232
- Lower numeric tolerance for test files
3333
- Add 2 tests for the inclusive string split function
34-
###
34+
3535
Most commits will have less comments than this examples list.
3636
The last comment does not include the file names,
3737
because there were more than two relevant files in the hypothetical commit.
@@ -40,8 +40,7 @@ It is given only as an example of appropriate comments.
4040

4141

4242
THE GIT DIFF TO BE SUMMARIZED:
43-
###
43+
4444
{{ .file_diffs }}
45-
###
4645

4746
THE SUMMARY:

prompt/templates/summarize_title.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ Schedule all GitHub actions on all OSs
1616
```
1717

1818
THE FILE SUMMARIES:
19-
###
19+
2020
{{ .summary_points }}
21-
###
2221

2322
Remember to write only one line, no more than 50 characters.
2423
THE PULL REQUEST TITLE:

0 commit comments

Comments
 (0)