From 6353cb2eeef89daf4f4e6a29b59ea52aa9bf594d Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Wed, 27 Dec 2023 15:23:32 +0900 Subject: [PATCH] =?UTF-8?q?(gas)=20=E3=83=9E=E3=83=BC=E3=82=B8=E3=82=B3?= =?UTF-8?q?=E3=83=9F=E3=83=83=E3=83=88=E3=81=AFChangelog=E3=81=AB=E5=90=AB?= =?UTF-8?q?=E3=81=BE=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __misc/gas/code.gs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__misc/gas/code.gs b/__misc/gas/code.gs index 5021bd55..ff0f0692 100644 --- a/__misc/gas/code.gs +++ b/__misc/gas/code.gs @@ -38,7 +38,7 @@ function getChangeLog(d) { const res = JSON.parse(UrlFetchApp.fetch(`https://api.github.com/repos/misskey-dev/misskey-hub-next/compare/${GH_PREVIOUS_COMMIT_SHA}...${d.deployment.sha}`).getContentText()); - return res.commits.map((commit) => `・${commit.commit.message.split('\n')[0]}`).reverse().join('\n'); + return res.commits.map((commit) => `・${commit.commit.message.split('\n')[0]}`).filter((v) => !v.startsWith('・Merge branch \'master\' of')).reverse().join('\n'); } function postToMisskey(d) {