Skip to content

0.3.0 Add support for `sprig` functions in Go templates in the `format` argument

Compare
Choose a tag to compare
@aknysh aknysh released this 19 Dec 04:50
71f44b4

what

  • Add support for sprig functions in Go templates in the format argument

why

  • To be able to manipulate the text of the comments using various functions in Go templates, in particular string replacement and Regular Expressions
GITHUB_COMMENT_FORMAT="Helm diff:<br><br><pre>{{regexReplaceAllLiteral `\\n` . `<br>` }}<pre>"

references