Skip to content

Commit

Permalink
We use 8 char commit sha now --nobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Apr 28, 2024
1 parent 5447235 commit f82342c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflow_data/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
for i, commit in enumerate(event["commits"]):
msg = commit['message'].splitlines()[0].replace("`", "").replace("_", "\_")
msg = msg[:50] + ("..." if len(msg) > 50 else "")
desc += f"\n[`{commit['id'][:7]}`]({commit['url']}): {msg} - [__{commit['author'].get('username')}__](https://github.com/{commit['author'].get('username')})"
desc += f"\n[`{commit['id'][:8]}`]({commit['url']}): {msg} - [__{commit['author'].get('username')}__](https://github.com/{commit['author'].get('username')})"
if len(desc) > 2020:
desc = desc.rsplit("\n", 1)[0] + f"\n+ {count - i} more commits"
break
Expand Down

0 comments on commit f82342c

Please sign in to comment.