manual-approval icon indicating copy to clipboard operation
manual-approval copied to clipboard

Specify issue Template

Open jpike88 opened this issue 2 years ago • 2 comments

This allows the issue created to have a pre-deployment checklist and other notes which can be made before approval is made, which helps establish a proper process

jpike88 avatar May 27 '22 09:05 jpike88

That's a great idea! Adding to the backlog.

trstringer avatar May 27 '22 11:05 trstringer

I don't know go, maybe I'll get some time to learn it so I can actually contribute.

But I'm guessing this is where to start:

https://github.com/trstringer/manual-approval/blob/3f2b3dd8663dad502ee7386879737fb2c39875f9/approval.go#L46

  • Concatenate the default strings as normal.
  • Check current commit for file called .manual-approval/template.md, OR provide an argument called issue-template which allows users to specify path of a markdown file
  • If file exists, add a line (----) or something under the default strings, with the template.

jpike88 avatar May 31 '22 09:05 jpike88