Skip to content

Commit e7a3480

Browse files
committed
MDEV-39572: Add marking requirements for AI-assisted contributions to COMMUNITY_CONTRIBUTIONS.md
Explained the use of git commit trailers to mark contributions co-developed using AI tools.
1 parent 351b60f commit e7a3480

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

COMMUNITY_CONTRIBUTIONS.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,28 @@ And that commit should have a commit message that's compliant with
6464
> If there's no Jira or no reference to it in your pull request
6565
> there might be delays in processing it
6666
67+
#### Contribution Header Requirements ####
68+
69+
Git supports adding "trailers" to a commit message. Contributors
70+
submitting pull requests that contain co-authored commits are
71+
**strongly encouraged** to add a specific "Co-Authored-By:"
72+
git commit message trailer for contributions that were co-authored.
73+
This is especially important for contributions that were co-authored by
74+
AI-assisted code generators, for example
75+
```
76+
commit some-hash
77+
Author: Somebody <somebody@example.com>
78+
Date: Mon Jun 30 16:41:18 2025 -0600
79+
80+
MDEV-00000: Something
81+
82+
Explain what it is.
83+
84+
Co-authored-by: Some Tool
85+
```
86+
You can also use the --trailer option to git commit to produce these.
87+
88+
6789
## States of a Community Contribution ##
6890

6991
```mermaid

0 commit comments

Comments
 (0)