mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
✌️
This commit is contained in:
parent
1720fe8e85
commit
c361f9e63a
@ -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.message.split('\n')[0]}](${commit.url})`).join('\n'),
|
commits.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 New Issue
Block a user