Tomer.Epstein
Tomer.Epstein

Reputation: 319

Github - Merging is blocked - The base branch requires all commits to be signed

Github is blocking the pull request from being merged, even though all the commits are verified.
Rule settings: 'Require signed commits' & 'Include administrators' are checked.
Does anyone know how to solve this?

enter image description here enter image description here

Upvotes: 23

Views: 31448

Answers (2)

thinkmassive
thinkmassive

Reputation: 788

I encountered this bug while attempting to merge a PR with a single signed commit into a protected base branch. It had received approval (one of the branch protection requirements, in addition to signature) so I was hoping to avoid needing to re-acquire that.

Closing the PR, then immediately re-opening it, enabled the merge button in this case.

Upvotes: 0

Eric Lam
Eric Lam

Reputation: 359

It seems like this is a GitHub web interface only glitch.

The system can verify the signatures internally.

The trick to get through this is to use the "Command line instructions".

Use the command line instructions

I was able to merge the branch without turning off any checks.

enter image description here

Upvotes: 5

Related Questions