mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 09:23:50 +01:00
(gas) マージコミットはChangelogに含まないように
This commit is contained in:
parent
75cbe92fc6
commit
6353cb2eee
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user