diff --git a/app.py b/app.py index 5d83f49..d9d37ae 100644 --- a/app.py +++ b/app.py @@ -37,8 +37,8 @@ async def webhook(): def generatePushMsg(data): - msg = f'*🔨 {data["total_commits_count"]} new commits to ' \ - f'{data["project"]["name"]}:{data["project"]["default_branch"]}*:\n\n' + msg = f'🔨 {data["total_commits_count"]} new commits to ' \ + f'{data["project"]["name"]}:{data["project"]["default_branch"]}:\n\n' for commit in data['commits']: tag_link = f'{commit["id"][:7]}' msg = msg + f"{tag_link}: {commit['message'].rstrip()}\n"