mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-11 12:52:41 +01:00
Update github.ts
This commit is contained in:
parent
6e325c7139
commit
1114cead71
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module.exports = async (app: express.Application) => {
|
||||||
const commits = event.commits;
|
const commits = event.commits;
|
||||||
post([
|
post([
|
||||||
`Pushed by **${pusher.name}** with ?[${commits.length} commit${commits.length > 1 ? 's' : ''}](${compare}):`,
|
`Pushed by **${pusher.name}** with ?[${commits.length} commit${commits.length > 1 ? 's' : ''}](${compare}):`,
|
||||||
commits.map(commit => `・[?[${commit.id.substr(0, 7)}](${commit.url})] ${commit.message.split('\n')[0]}`).join('\n'),
|
commits.reverse().map(commit => `・[?[${commit.id.substr(0, 7)}](${commit.url})] ${commit.message.split('\n')[0]}`).join('\n'),
|
||||||
].join('\n'));
|
].join('\n'));
|
||||||
break;
|
break;
|
||||||
case 'refs/heads/release':
|
case 'refs/heads/release':
|
||||||
|
|
Loading…
Reference in a new issue