diff --git a/lib/platform/github/index.ts b/lib/platform/github/index.ts index f7794ca2f61d5415af6ce991ab1f57e9b7f6d5d3..46317be6153b8ab119c70a6c9935cb2639e78f8f 100644 --- a/lib/platform/github/index.ts +++ b/lib/platform/github/index.ts @@ -1616,14 +1616,6 @@ export async function mergePr( ): Promise<boolean> { logger.debug(`mergePr(${prNo}, ${branchName})`); // istanbul ignore if - if (config.isGhe && config.pushProtection) { - logger.debug( - { branch: branchName, prNo }, - 'Branch protection: Cannot automerge PR when push protection is enabled' - ); - return false; - } - // istanbul ignore if if (config.prReviewsRequired) { logger.debug( { branch: branchName, prNo },