Add checkbox indicator for AI-generated contributions
Summary
GitLab is now accepting AI-generated contributions to GitLab as indicated here: gitlab-com/www-gitlab-com!133026 (merged)
Per discussion with Legal (https://gitlab.com/gitlab-com/legal-and-compliance/-/issues/1908#note_1739046670) we are seeking a way to ask contributors to disclose if a contribution contains AI-generated content. Given the difficulties in community contributors adding labels to MRs we are looking for another solution that is minimally invasive and easy for community contributors to complete.
Proposal
Use gitlab-bot when the community MR is first created to edit the top level description and add a checkbox for the contributor.
- gitlab-bot detects community MR
- gitlab-bot applies community label and thank you message
- gitlab-bot edits MR description for example:
-
Please check this box if this community contribution uses AI-generated content
We plan to have this implemented by the end of this quarter (Q1)
Add a question on disclosing AI-generated contributions to MR templates using a checkbox to indicate aYes
orNo
responseUsegitlab-bot
to detect if an MR description has this checkbox completed or not-
Prevent MRs from passing approval until the checkbox is completed- UPDATE: It does not appear we need to make this a blocker per Legal so let's not worry about this at the moment and make things less intrusive for contributors
- Avoid pestering community contributors with additional notifications unless necessary
Edited by Daniel Murphy