Closed joshuarrrr closed 1 year ago
@joshuarrrr , We've had trouble with backports failing DCO even when the original DCO check passed. The DCO on backports sometimes doesn't find a match in the email address. Do you know if these steps remedy issues with backports?
Is your feature request related to a problem?
Our canonical source of info about the DCO check is https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md#developer-certificate-of-origin. It provides lots of useful background and explanation, yet maintainers regularly see first time contributors stumble on this step and require multiple attempts to sign their commits correctly. We should provide guidance on how to fix.
In addition, GitHub accounts have made this less straightforward. When signing-up for a new GitHub account (as per our onboarding guide https://github.com/opensearch-project/.github/blob/main/ONBOARDING.md#github-account), the account will have "Keep my email addresses private" checked by default.
What solution would you like?
We should update the DCO section with some troubleshooting tips for signed commits that still don't pass the DCO check automation.
Suggested text:
If you've signed your commit and it still fails the DCO check, it's likely because the email address you signed the commit with doesn't match the one on your GitHub account. There are a couple ways to solve this:
*@users.noreply.github.com
email listed in the "Keep my email addresses private" setting.What alternatives have you considered?
It seems inefficient to explain this in individual repository dev guides or READMEs. We could also add it to
ONBOARDING.md
as part of the GitHub setup instructions, but it's a problem even folks with previous GitHub contribution history run into.