Comply with Policy for AI Generated Content
While probably not meeting most people's definition of artificial intelligence these scripts do create patches. The OpenInfra Policy for AI Generated Content recommends to: > Add a "Generated-By:" label to the commit message, and explain in > comments or the commit message any prompts or background context > the reviewers might need to fully understand the change and how > much of the change was generated by the tool. Even though it also has a carve-out for these sorts of scripts: > The exception to the rule is that we do allow submissions from > well documented automated processes, such as release tooling or > for internationalization updates. https://openinfra.org/legal/ai-policy Nevertheless, documenting within the commit message the location of the script which was used to generate that contribution is helpful for a number of obvious reasons. Let's do it anyway, even though it's not technically required. Change-Id: I36c1a0a796781cdbc87a7e5f1058ae6afe14db4c
This commit is contained in:
@@ -165,6 +165,7 @@ if [ -n "$change" ] ; then
|
||||
Depends-On: $change"
|
||||
fi
|
||||
|
||||
git commit -m "$commit_msg" -s
|
||||
git commit -m "$commit_msg" -s \
|
||||
--trailer="Generated-By:openstack/requirements:tools/noop-change.sh"
|
||||
git review -t ${topic}
|
||||
# TODO(tonyb): Check for vote-a-tron and -W the change if it's available
|
||||
|
Reference in New Issue
Block a user