logs: downgrade workflows warn

This commit is contained in:
Rhys Arkins 2021-05-14 23:30:03 +02:00
parent 7a22e6c07a
commit e42e07b609

View file

@ -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')) {