diff --git a/lib/platform/git/storage.ts b/lib/platform/git/storage.ts index 1dcdcf5cdeb4ea43150b7f24a5c1d3e447466bd3..0ada735638d6fb8241eb7e8132d31a3c3fda3b53 100644 --- a/lib/platform/git/storage.ts +++ b/lib/platform/git/storage.ts @@ -528,10 +528,11 @@ export class Storage { } await this._git!.commit(message); if (!(await this.hasDiff(`origin/${branchName}`))) { - logger.warn( + logger.info( { branchName, fileNames }, - 'No file changes detected. Is this an empty force push?' + 'No file changes detected. Skipping commit' ); + return; } await this._git!.push('origin', `${branchName}:${branchName}`, { '--force': true,