Skip to content

Commit 4d9dce4

Browse files
authored
Merge branch 'main' into docs/cilium-agent
2 parents e22cc9c + 35def26 commit 4d9dce4

File tree

20 files changed

+409
-89
lines changed

20 files changed

+409
-89
lines changed

CONTRIBUTION.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,42 @@ that the configuration is valid before applying it to the cluster.
121121
Closes #123
122122
```
123123

124+
## Signing Your Commits
125+
126+
All commits must be signed with a Developer Certificate of Origin (DCO). This is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project.
127+
128+
### How to Sign Your Commits
129+
130+
1. Configure Git to sign your commits:
131+
```bash
132+
git config --global user.signingkey YOUR_GPG_KEY_ID
133+
```
134+
135+
2. Sign your commits when making them:
136+
```bash
137+
git commit -s -m "your commit message"
138+
```
139+
The `-s` flag adds a Signed-off-by line to your commit message.
140+
141+
3. For existing commits that need to be signed, you can amend them:
142+
```bash
143+
git commit --amend -s --no-edit
144+
```
145+
146+
4. When pushing changes, make sure to push the signed commits:
147+
```bash
148+
git push --force-with-lease origin your-branch-name
149+
```
150+
151+
### DCO Sign-off Format
152+
153+
Each commit message must include a sign-off line in the following format:
154+
```
155+
Signed-off-by: Your Name <[email protected]>
156+
```
157+
158+
This line certifies that you have the right to submit the work under the project's license and agree to the Developer Certificate of Origin.
159+
124160
## Community
125161

126162
- Join our [Discord server](https://bit.ly/kagentdiscord) for discussions
363 KB
Loading
11.6 KB
Loading
59.6 KB
Loading
66.3 KB
Loading
27.3 KB
Loading
96.9 KB
Loading

0 commit comments

Comments
 (0)