We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 835dc39 commit ef84a03Copy full SHA for ef84a03
commit.ts
@@ -3,7 +3,7 @@ import type { PushPayload, Repo } from "./types.ts";
3
4
export default function commit(repo: Repo, payload: PushPayload) {
5
// TODO: Find out a new way to get the commit name
6
- return `\n [commit](https://github.com/${repo.name}/commit/${
7
- payload.head
8
- })\n into${name(repo.name)}`;
+ return `\n [\`${payload.head.slice(0, 7)}\`](https://github.com/${
+ repo.name
+ }/commit/${payload.head})\n into${name(repo.name)}`;
9
}
0 commit comments