diff --git a/lib/workers/pr/changelog/source-github.ts b/lib/workers/pr/changelog/source-github.ts index b805085ccb97a9852c69d5f389eddcf62d3be1eb..daace7bdf29d14f82d6a477bfae4e0afc190fe9f 100644 --- a/lib/workers/pr/changelog/source-github.ts +++ b/lib/workers/pr/changelog/source-github.ts @@ -29,7 +29,7 @@ async function getTags( logger.debug({ repository }, 'repository has no Github tags'); } - return tags.map(tag => tag.name); + return tags.map(tag => tag.name).filter(Boolean); } catch (err) { logger.info({ sourceRepo: repository }, 'Failed to fetch Github tags'); logger.debug({ err });