microsoft / winget-create

The Windows Package Manager Manifest Creator command-line tool (aka wingetcreate)
MIT License
472 stars 83 forks source link

add option to add extra comments to the pull request description for `update` command #531

Open anatawa12 opened 1 month ago

anatawa12 commented 1 month ago

Description of the new feature / enhancement

I wonder if wingetcreate.exe update option to add extra comments to the pull request description for update command.

In my workflow, pull request targeting other repository is created by my machine account (@anatawa12-bot) but I should watch the pull request so I want to mention me on the pull request. however, wingetcreate command doesn't have any way to know pull request number programmatically so I want some option to append some custom string to the pull request message.

Proposed technical implementation details

appending text from command line option here. https://github.com/microsoft/winget-create/blob/c8044491bebc8fcc76afa4e126e31556a380327b/src/WingetCreateCore/Common/GitHub.cs#L370