Skip to content

Dependabot will not merge PR while failed non-required checks exist #7383

@nwhittaker

Description

@nwhittaker

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

npm

Package manager version

npm 8.19.2

Language version

Node.js 18.12.1

Manifest location and content before the Dependabot update

No response

dependabot.yml content

No response

Updated dependency

No response

What you expected to see, versus what you actually saw

Our Dependabot PRs undergo a series of required and non-required CI checks. Once all required checks are passed, I expect to be able to add a comment to the PR with the @dependabot merge or @dependabot squash and merge command and have Dependabot merge the PR.

However, even though I can merge the PR manually, if any of the non-required checks have failed or been canceled, Dependabot does not merge and instead adds a message to the PR's description:

Dependabot will merge this PR once CI passes on it, as requested by …

In some cases, it may be perfectly reasonable for an optional check to fail or be canceled (or still pending, even). If the PR can be merged manually due to all required checks passing, the expectation is that Dependabot can also merge it.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: bug 🐞Something isn't workingservice 💁Relates to Dependabot features GitHub provides

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions