Skip to content

Commit

Permalink
docs(auto-commit): update guidelines for commit message body length
Browse files Browse the repository at this point in the history
- Clarify that body lines include the roast
- Enhance instructions for message generation

(your guidelines are so detailed, they could double as a novel)
  • Loading branch information
alonp99 committed Nov 27, 2024
1 parent d25b50f commit c6dc758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/auto-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function generateCommitMessage(diff) {
"- Don't capitalize first letter\n" +
'- No period at the end\n' +
'- Keep first line under 72 chars\n' +
'- Body lines must not exceed 100 chars\n' +
'- Body lines must not exceed 100 chars, including the roast\n' +
'- Must have blank line between title and body\n\n' +
'After analyzing the diff:\n' +
'1. Write a concise conventional commit message\n' +
Expand Down

0 comments on commit c6dc758

Please sign in to comment.