You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(contributing): require DCO sign-off on every commit (#160)
Same DCO block landing in axonflow-sdk-rust#1, applied uniformly across
all org repos so the org-wide DCO GitHub App check is documented in
each repo's CONTRIBUTING.md.
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,36 @@
2
2
3
3
Thank you for your interest in contributing! Please open an issue or pull request via the [GitHub repository](https://github.com/getaxonflow/axonflow-sdk-java).
4
4
5
+
## Sign your commits — Developer Certificate of Origin (DCO) is required
6
+
7
+
All contributions to this repository must be **signed off** under the [Developer Certificate of Origin v1.1](https://developercertificate.org/). The DCO is a per-commit affirmation that you wrote the code (or otherwise have the right to submit it) and are licensing it under the same license as the rest of this repository.
8
+
9
+
Add the sign-off automatically with `-s` (or `--signoff`) on every commit:
10
+
11
+
```bash
12
+
git commit -s -m "your commit message"
13
+
```
14
+
15
+
This appends a trailer like:
16
+
17
+
```
18
+
Signed-off-by: Your Name <your.email@example.com>
19
+
```
20
+
21
+
The name and email must match `git config user.name` / `git config user.email`.
22
+
23
+
If you forgot `-s` on an existing commit, fix it with one of:
24
+
25
+
```bash
26
+
# most recent commit
27
+
git commit --amend --signoff --no-edit
28
+
29
+
# every commit on the current branch
30
+
git rebase --signoff origin/main
31
+
```
32
+
33
+
A DCO check runs automatically on every PR opened in the `getaxonflow` org. **PRs with any unsigned commit will be blocked from merging until the missing sign-offs are added.** No exceptions, including for maintainers.
0 commit comments