Rerun status checks on "out of date" branches

I setup actions for pull requests based on a protected branch and enabled the “Require branch to be up to date” setting.

Now, when I have two pull requests that passes all checks, both are “able to merge”. But after the first PR is merged, the second is “out of date” (which is totally correct and fine).

In order to update the branch, I have to merge the base branch back to the PR branch - which causes an unnecessary merge commit, if there will be no conflicts.

So it would be nice, if I could just rerun the status checks for the second PR against the NEW MERGE HEAD, and if that passed, would be able to merge without creating the unnecessary merge commit.

Hi @TiSiE,

Glad to see you in Github Community Forum!

This is by designed, since you have enabled the checkbox ‘Require branch to be up to date’, the branch must be up to date with the base branch before merging. Please refer to the doc for more details.

Rerun status check will not update the Github SHA, cannot get the new merge HEAD.

According to the policy, it’s recommended to raise a feature-request ticket here where github product manager will take a review.


Thank you for the quick reply. I have send a feature request like you suggested.