How should I troubleshoot my Google Contributor Licence Agreement Issue on my pull request?
Asked Answered
C

2

6

I have made the Pull Request to this project, which is owned by google. So, google asks for Contributor Licence Agreement. which I have signed here. I have created CLA.

Firsly, I thought that there are two email addresses in my github account. So, I have also created CLA for both email IDs.

For committing the code, I am using simple approach : git add . git commit -m 'Message' git push -u origin branch_name

Pull Request

Still the google-bot is not able to verify my CLA. It is giving me error like below :

Error Message : We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again. If the bot doesn't comment, it means it doesn't think anything has changed.

I have created CLA for both the email IDs which are associated with my Github Account.

I have enabled Two Factor Authentication.

I have committed again and again to check. I have commented on PR to check whether problem is resolved by google-bot or not.

git add .
git commit -m 'Message'
git push -u origin branch_name

Please describe the complete solution if someone has faced this issue in past and resolved it successfully.

Chlorothiazide answered 26/7, 2019 at 6:19 Comment(0)
G
0

Your commits have been made with 3 different email addresses, one each:

  • @iiitk.ac.in
  • @gmail.com
  • @delhivery.com

You can see this from your branch by doing a git log -n3

Glen answered 26/7, 2019 at 23:56 Comment(0)
Y
0

Commonly, this is related to having a diferent set of user info on the commit and de CLA. Use git log to view the commit logs for your repository (hit q to exit).

You can also view your user settings:

Actual Repo config

git config user.name
git config user.email

Global config

git config --global user.email
git config --global user.email

Some sugestions on how to fix this error

  • Fix your configuration issues, create a new branch and do a new pull request. You can edit the author for a single commit using:
git commit --author="max kellerman<[email protected]>"

  1. If possible, add all the emails in question to a google group CLA so they can be authorized contributors.

  2. You can try to edit the Author information for previous commits:

Change author details for the very last commit:

git commit --amend --author="max kellerman<[email protected]>"

To change multiple commits on the same branch, you can use interactive rebase or branch filtering

Yelenayelich answered 12/3, 2021 at 21:13 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.