Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCO check fails with commits not in PR, from another author #115

Closed
kieckhafer opened this issue Jul 11, 2019 · 2 comments
Closed

DCO check fails with commits not in PR, from another author #115

kieckhafer opened this issue Jul 11, 2019 · 2 comments
Labels

Comments

@kieckhafer
Copy link

kieckhafer commented Jul 11, 2019

We've been seeing this issue a lot recently (I've personally seen it three times in the past week, and others on my team have brought it up as well). We create a new branch off our default develop branch, make a few changes that are DCO approved, and yet DCO bot fails saying commits by other developers are not signed off.

This PR is the latest example:

  1. I made a new branch off our main branch
  2. I made all my changes in three commits (all signed-off)
    reactioncommerce/reaction@16e3a71
    reactioncommerce/reaction@90b6757
    reactioncommerce/reaction@035b574
  3. I made a PR, and am receiving a failed DCO check, from another developer with commits not in this PR: https://github.com/reactioncommerce/reaction/pull/5307/checks?check_run_id=166954847
    image

UPDATE:
Another example just popped up: https://github.com/reactioncommerce/reaction/pull/5320/checks?check_run_id=167950629

@hiimbex
Copy link
Contributor

hiimbex commented Jul 23, 2019

It seems to me the issue occurs on only the first 'set' of commits pushed to the PR? We use https://developer.github.com/v3/repos/commits/#compare-two-commits in order to access the list of commits. Maybe for some reason this branch is also returning its base commit as well and causing the issue? Never seen this behavior before, maybe GitHub/the DCO is confused by your branch off a branch workflow?

I'm sorry I can't really investigate this further, but happy to review PRs. For now a viable workflow seems just to be push another commit to retrigger the check?

GitHub Developer
Get started with one of our guides, or jump straight into the API documentation.

@stale
Copy link

stale bot commented Oct 21, 2019

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@stale stale bot added the wontfix label Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants