summaryrefslogtreecommitdiff
path: root/src/api/service/github.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/service/github.ts')
-rw-r--r--src/api/service/github.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/service/github.ts b/src/api/service/github.ts
index a6eba3d5e5..79ebc9104e 100644
--- a/src/api/service/github.ts
+++ b/src/api/service/github.ts
@@ -37,9 +37,9 @@ module.exports = async (app: express.Application) => {
const compare = event.compare;
const commits = event.commits;
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 Changes](${compare})`,
'',
- commits.map(commit => `・${commit.message.split('\n')[0]}`).join('\n'),
+ commits.map(commit => `・?[${commit.message.split('\n')[0]}](${commit.url})`).join('\n'),
].join('\n'));
break;
case 'refs/heads/release':