HDDS-13360. Ask if the PR contains AI generated code in the pull request template#9665
HDDS-13360. Ask if the PR contains AI generated code in the pull request template#9665cchung100m wants to merge 1 commit intoapache:masterfrom
Conversation
dombizita
left a comment
There was a problem hiding this comment.
Thank you @cchung100m, this is a really good idea! Copying from https://www.apache.org/legal/generative-tooling.html#include-in-contributions:
When providing contributions authored using generative AI tooling, a recommended practice is for contributors to indicate the tooling used to create the contribution. This should be included as a token in the source control commit message, for example including the phrase “Generated-by: ”. This allows for future release tooling to be considered that pulls this content into a machine parsable Tooling-Provenance file.
We should highlight to add the “Generated-by: ” to the commit message, which is currently missing most of the time. But as we do squash and merge, should we highlight this to committers to add it manually from the PR description? @adoroszlai what do you think?
What changes were proposed in this pull request?
Ask if the PR contains AI generated code in the pull request template
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-13360
How was this patch tested?
N/A