diff --git a/lib/workers/pr/changelog/github/index.ts b/lib/workers/pr/changelog/github/index.ts
index a59bb69e7e7517ce5c81df51dc33fa9a8d0f885f..5760c4d7f9d492d91af48c9a792fd2be48468526 100644
--- a/lib/workers/pr/changelog/github/index.ts
+++ b/lib/workers/pr/changelog/github/index.ts
@@ -70,7 +70,7 @@ export async function getReleaseNotesMd(
   }
   const { path: changelogFile, sha } = files.shift();
   /* istanbul ignore if */
-  if (files.length > 1) {
+  if (files.length !== 0) {
     logger.debug(
       `Multiple candidates for changelog file, using ${changelogFile}`
     );
diff --git a/lib/workers/pr/changelog/gitlab/index.ts b/lib/workers/pr/changelog/gitlab/index.ts
index ff858d289c0f9b90a4fd9edfb7a2620d274efc31..211864d44628583e9eafbf72d362191ee348cc63 100644
--- a/lib/workers/pr/changelog/gitlab/index.ts
+++ b/lib/workers/pr/changelog/gitlab/index.ts
@@ -68,7 +68,7 @@ export async function getReleaseNotesMd(
   }
   const { path: changelogFile, id } = files.shift();
   /* istanbul ignore if */
-  if (files.length > 1) {
+  if (files.length !== 0) {
     logger.debug(
       `Multiple candidates for changelog file, using ${changelogFile}`
     );