image-automation-controller icon indicating copy to clipboard operation
image-automation-controller copied to clipboard

Decoupling commit and notification template

Open tun0 opened this issue 2 years ago • 0 comments

Would it be an option to decouple the commit message template and the notification template? Where the latter would have access to git commit specific data as well (sha specifically).

Instead of fully decoupling, alternatively it could be made possible to have an additional template for stuff to add to the notification, in addition to the commit template.

End goal: have more control over the notification payload to make it machine parsable (even) more reliably.

Originally posted by @tun0 in https://github.com/fluxcd/image-automation-controller/issues/580#issuecomment-1703019587

tun0 avatar Sep 04 '23 12:09 tun0