Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push commit discord message: add horizontal lines #2989

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Push commit discord message: add horizontal lines
To better delimit adjacent commits
sprunk authored Aug 10, 2024
commit 253aedb25f558dbab71c07589da1876f7c24ee77
2 changes: 1 addition & 1 deletion Zero-K.info/Controllers/GithubController.cs
Original file line number Diff line number Diff line change
@@ -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}";