mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
logs: downgrade workflows warn
This commit is contained in:
parent
7a22e6c07a
commit
e42e07b609
1 changed files with 2 additions and 3 deletions
|
@ -781,9 +781,8 @@ export async function commitFiles({
|
||||||
err.message.includes('remote rejected') &&
|
err.message.includes('remote rejected') &&
|
||||||
files?.some((file) => file.name?.startsWith('.github/workflows/'))
|
files?.some((file) => file.name?.startsWith('.github/workflows/'))
|
||||||
) {
|
) {
|
||||||
logger.warn(
|
logger.debug({ err }, 'commitFiles error');
|
||||||
'Workflows update rejection - aborting branch. Please check permissions.'
|
logger.info('Workflows update rejection - aborting branch.');
|
||||||
);
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (err.message.includes('protected branch hook declined')) {
|
if (err.message.includes('protected branch hook declined')) {
|
||||||
|
|
Loading…
Reference in a new issue