diff --git a/packages/notify/lib/utils.mjs b/packages/notify/lib/utils.mjs index fbef475..81dd2ef 100644 --- a/packages/notify/lib/utils.mjs +++ b/packages/notify/lib/utils.mjs @@ -130,7 +130,7 @@ async function getlog(from, to) { number: 100, branch: `${from}...${to}`, fields: ['hash', 'abbrevHash', 'subject'], - }); + }).then((list) => list.filter(({ status }) => status.length)); } async function getLogs() { @@ -175,9 +175,6 @@ async function getCommits() { Object.entries( groupBy( (await getLogs()) // eslint-disable-next-line unicorn/no-await-expression-member - .filter( - ({ subject }) => !subject.startsWith('Accept Merge Request'), - ) .map(({ abbrevHash, hash, subject }) => ({ hash, abbrevHash, diff --git a/packages/notify/package.json b/packages/notify/package.json index 16dc03b..74d9d4c 100644 --- a/packages/notify/package.json +++ b/packages/notify/package.json @@ -1,6 +1,6 @@ { "name": "@bring-it/notify", - "version": "0.3.18", + "version": "0.3.19", "description": "Send releases notifications", "license": "MIT", "author": {