From e42e07b609c5665a6b4af12fa65f2005e46bb618 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Fri, 14 May 2021 23:30:03 +0200 Subject: [PATCH] logs: downgrade workflows warn --- lib/util/git/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts index d9a5175f1b..5facb30fd6 100644 --- a/lib/util/git/index.ts +++ b/lib/util/git/index.ts @@ -781,9 +781,8 @@ export async function commitFiles({ err.message.includes('remote rejected') && files?.some((file) => file.name?.startsWith('.github/workflows/')) ) { - logger.warn( - 'Workflows update rejection - aborting branch. Please check permissions.' - ); + logger.debug({ err }, 'commitFiles error'); + logger.info('Workflows update rejection - aborting branch.'); return null; } if (err.message.includes('protected branch hook declined')) { -- GitLab