sorenlouv / backport

A simple CLI tool that automates the process of backporting commits on a GitHub repo
https://github.com/sqren/backport/blob/main/docs/config-file-options.md
Apache License 2.0
241 stars 57 forks source link

Add support for handlebars templating engine #468

Closed sorenlouv closed 10 months ago

sorenlouv commented 10 months ago

This adds support for using handlebars templating when specifying prDescription and prTitle

Example

{
  "prDescription": "{{#each commits}}{{shortSha this.sourceCommit.sha}} {{this.sourceCommit.message}}{{/each}}"
}