diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js index 67a7bd4b3ae39c909c43c89666bcdf9e1c5ae2b9..2a48f93dae5cd399cf75ec5945886bbcc850e557 100644 --- a/lib/platform/github/index.js +++ b/lib/platform/github/index.js @@ -115,7 +115,7 @@ async function getRepoForceRebase() { try { config.repoForceRebase = false; const branchProtection = await getBranchProtection(config.baseBranch); - logger.info('Branch protection found'); + logger.info('Found branch protection'); if (branchProtection.required_pull_request_reviews) { logger.info( 'Branch protection: PR Reviews are required before merging' @@ -145,7 +145,7 @@ async function getRepoForceRebase() { } } catch (err) { if (err.statusCode === 404) { - logger.info(`Branch protection: none found`); + logger.info(`No branch protection found`); } else if (err.statusCode === 403) { logger.warn( 'Branch protection: Do not have permissions to detect branch protection'