diff --git a/src/mr.roboto/src/mr/roboto/subscriber.py b/src/mr.roboto/src/mr/roboto/subscriber.py index 6c58ccd..99c8661 100644 --- a/src/mr.roboto/src/mr/roboto/subscriber.py +++ b/src/mr.roboto/src/mr/roboto/subscriber.py @@ -216,6 +216,7 @@ def check_membership(self, json_data): class ContributorsAgreementSigned(PullRequestSubscriber): def __init__(self, event): self.cla_url = "https://plone.org/foundation/contributors-agreement" # noqa + self.cla_email = "agreements@plone.org" self.github_help_setup_email_url = "https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/adding-an-email-address-to-your-github-account" # noqa self.status_context = "Plone Contributors Agreement verifier" @@ -248,8 +249,17 @@ def run(self): users = " @".join(not_foundation) msg = ( f"@{users} you need to sign the Plone Contributor " - f"Agreement to merge this pull request. \n\n" + "Agreement to merge this pull request." + "\n\n" f"Learn about the Plone Contributor Agreement: {self.cla_url}" + "\n\n" + "If you have already signed the agreement, " + "please allow a week for your agreement to be processed.\n" + "Once it is processed, you will receive an email invitation " + "to join the `plone` GitHub organization as a Contributor." + "\n\n" + "If after a week you have not received an invitation, then " + f"please contact {self.cla_email}." ) self.g_issue.create_comment(body=msg) @@ -266,6 +276,11 @@ def run(self): f"Learn about the Plone Contributor Agreement: {self.cla_url} " f"How to add more emails to your GitHub account: " f"{self.github_help_setup_email_url} " + "\n\n" + "If you have sent in your Plone Contributor Agreement, " + "and received and accepted an invitation to join the " + "Plone GitHub organization, then you might need to add " + "the email address on your Agreement to your GitHub account." ) self.g_issue.create_comment(body=msg)