Cosmetics

This commit is contained in:
Alexandre Aubin 2023-01-20 12:47:05 +01:00
parent dcd0a669e8
commit 708b590beb

View file

@ -102,7 +102,7 @@ async def github(request):
if len(commit_message) > 120:
commit_message = commit_message[:120] + "..."
commit_id = url.split("/")[-1]
commit_id = url.split("/")[-1][:8]
await notify(
f"[{repository}] @{user} pushed {len(commits)} commit to {branch}: {commit_message} ([{commit_id}]({url}))",
repository=repository,