mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-18 08:38:41 +09:00
✌️
This commit is contained in:
parent
d3a00ac38a
commit
ff6ba3f19b
@ -37,8 +37,7 @@ module.exports = async (app: express.Application) => {
|
|||||||
const compare = event.compare;
|
const compare = event.compare;
|
||||||
const commits = event.commits;
|
const commits = event.commits;
|
||||||
post([
|
post([
|
||||||
`Pushed by **${pusher.name}** with ${commits.length} commit${commits.length > 1 ? 's' : ''}: ?[Compare Changes](${compare})`,
|
`Pushed by **${pusher.name}** with ?[${commits.length} commit${commits.length > 1 ? 's' : ''}](${compare}):`,
|
||||||
'',
|
|
||||||
commits.map(commit => `・?[${commit.message.split('\n')[0]}](${commit.url})`).join('\n'),
|
commits.map(commit => `・?[${commit.message.split('\n')[0]}](${commit.url})`).join('\n'),
|
||||||
].join('\n'));
|
].join('\n'));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user