manual-approval
manual-approval copied to clipboard
Specify issue Template
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
That's a great idea! Adding to the backlog.
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.