Skip to content

Commit

Permalink
chore: remove ### from prompt file (#170)
Browse files Browse the repository at this point in the history
- Remove unnecessary `###` markers from template files

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed May 19, 2024
1 parent 3df90d6 commit e280206
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions prompt/templates/conventional_commit.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ Here are the labels you can choose from:


THE FILE SUMMARIES:
###

{{ .summary_points }}
###

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.
7 changes: 3 additions & 4 deletions prompt/templates/summarize_file_diff.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ The output should be easily readable. When in doubt, write less comments and not
Readability is top priority. Write only the most important comments about the diff.

EXAMPLE SUMMARY COMMENTS:
###

- Raise the amount of returned recordings from `10` to `100`
- Fix a typo in the github action name
- Move the `octokit` initialization to a separate file
- Add an OpenAI API for completions
- Lower numeric tolerance for test files
- Add 2 tests for the inclusive string split function
###

Most commits will have less comments than this examples list.
The last comment does not include the file names,
because there were more than two relevant files in the hypothetical commit.
Expand All @@ -40,8 +40,7 @@ It is given only as an example of appropriate comments.


THE GIT DIFF TO BE SUMMARIZED:
###

{{ .file_diffs }}
###

THE SUMMARY:
3 changes: 1 addition & 2 deletions prompt/templates/summarize_title.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ Schedule all GitHub actions on all OSs
```

THE FILE SUMMARIES:
###

{{ .summary_points }}
###

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

0 comments on commit e280206

Please sign in to comment.