feedback icon indicating copy to clipboard operation
feedback copied to clipboard

CircleCI checks didn't run

Open chrishenry opened this issue 7 years ago • 8 comments

Hi, really loving the idea of Dependabot. Super helpful for resolving small security issues that typically wouldn't surface in my day to day.

I had Dependabot open a few PRs for my private repo today. Upon inspecting, none of them had checks run. I use CircleCI, and my required checks were all in the orange, executing state, but there were no jobs being run on Circle. I also asked dependbot to rebase one, hoping that would trigger the workflow, but no luck there either.

This makes Dependabot less automatic than intended. Hope there's a resolution!

chrishenry avatar Oct 23 '19 17:10 chrishenry

@chrishenry thanks for the feedback! 🙏Hmm sounds like a potential issue with Circle not kicking off a job when the PR was openened though? Are the jobs by any chance queued in Circle?

feelepxyz avatar Oct 23 '19 17:10 feelepxyz

I'm not using CircleCI but I know from Travis and Azure Pipelines that you can configure the CI which jobs are to be run depending on if it was a branch commit from the same repo, if it was a pull request coming from the same repo, if it was a pull request coming from a fork repo.

It is good that such differentiation exist. Because a malicious attacker could commit bogus code and through the automatic CI testing tell it to leak the set environment variables by doing some POST requests.

NNTin avatar Oct 24 '19 08:10 NNTin

Hi there, @feelepxyz. We checked, and there weren't any queued builds, so I don't think that was the issue. To be clear, this is an active repo correctly configured, and running lots of jobs thru circleCI everyday.

What I'm not sure of is if we have to do additional configuration to ensure that jobs opened by dependabot are run through the normal pipeline. Is anyone aware of actions that we need to take?

chrishenry avatar Oct 29 '19 20:10 chrishenry

@chrishenry strange! Don't think it's a Dependabot issue though as we have no control over what checks get run on a created PR. Have you been in touch with CircleCI about the issue?

feelepxyz avatar Oct 31 '19 15:10 feelepxyz

Going to close this out, let us know if there's anything we could do on our side but pretty sure this will be an issue with Circle not picking up webhooks from GH (or something similar).

feelepxyz avatar Nov 29 '19 10:11 feelepxyz

Hi! I had meant to update this.

Not sure if anything changed with Dependabot, but the last PR it opened had jobs run correctly in CircleCI.

chrishenry avatar Nov 29 '19 21:11 chrishenry

@chrishenry Did you solve this? Started facing the same problem today. Half of the PRs from dependabot dont run circleCI checks for some reason.

tasos31 avatar Dec 25 '19 08:12 tasos31

Hi @tasos31. I hadn't done anything differently, PRs just started running.

Recently, I also saw builds fail due to lack of seats on CircleCI, so that might be something for you to checkin into.

chrishenry avatar Dec 27 '19 19:12 chrishenry