-
Notifications
You must be signed in to change notification settings - Fork 9
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
gitlab: commit notification should only include title #57
Comments
This line seems relevant: https://github.com/fleaz/CptHook/blob/master/input/gitlab.go#L138 |
@herbetom That's indeed the template which gets used for the commit message but you can't call arbitrary functions like e.g. split in a template. The two options I see are either a custom template function like |
I only looked for maybe 30s for that line. My "idea" was that you could insert instead of |
Fixed in #60 |
Currently the notification generated from a new commit includes the full commit message. This is not ideal for a quick notification.
Instead, I think it would be better to only use the commit title for notification purposes.
The text was updated successfully, but these errors were encountered: