Skip to content

Commit

Permalink
commit discord message: add horizontal lines (#2989)
Browse files Browse the repository at this point in the history
To better delimit adjacent commits
  • Loading branch information
sprunk authored Aug 21, 2024
1 parent 32d7248 commit 96309a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zero-K.info/Controllers/GithubController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public async Task<ActionResult> Hook()
dynamic commits = payload.commits;
foreach (dynamic commit in commits)
{
sb.AppendFormat("\n {0} <{1}>", commit.message, commit.url);
sb.AppendFormat("\n~~ ~~\n{0} <{1}>", commit.message, commit.url);
count++;
}
if (count > 0) text = $"[{payload.repository.name}] {payload.sender.login} has pushed {count} commits: {sb}";
Expand Down

0 comments on commit 96309a1

Please sign in to comment.