Skip to content

Commit f7b6ff1

Browse files
committed
feat: enforce single commit requirement
Describe why a single commit is very important. Signed-off-by: Serge Logvinov <[email protected]>
1 parent 0a4a98f commit f7b6ff1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.conform.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ policies:
1212
gpg: false
1313
spellcheck:
1414
locale: US
15-
maximumOfOneCommit: false
15+
maximumOfOneCommit: true
1616
conventional:
1717
types:
1818
- build

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Contributing
22

3+
## Pull Requests
4+
5+
All PRs require a single commit.
6+
7+
Having one commit in a Pull Request is very important for several reasons:
8+
* A single commit per PR keeps the git history clean and readable.
9+
It helps reviewers and future developers understand the change as one atomic unit of work, instead of sifting through many intermediate or redundant commits.
10+
* One commit is easier to cherry-pick into another branch or to track in changelogs.
11+
* Squashing into one meaningful commit ensures the final PR only contains what matters.
12+
313
## Developer Certificate of Origin
414

515
All commits require a [DCO](https://developercertificate.org/) sign-off.

0 commit comments

Comments
 (0)