pr-update-action icon indicating copy to clipboard operation
pr-update-action copied to clipboard

Allow for `body-template` updates

Open HartiganHM opened this issue 4 years ago • 1 comments

Hey, all!

It would be great to be able to replace a portion of the body description via regex instead of a complete replacement. Right now, I'm working on updating each PR dynamically with a release version which will change each time the PR is updated. This would allow me to find the desired text in the body and update it.

// PR is opened
- Release version: [1.0.3](<link-to-registry>)

// PR is synchronized
- Release version: [1.0.4](<link-to-registry>)

Happy to update this as necessary with more information. Thanks for the awesome GH Action!

HartiganHM avatar Jan 13 '21 16:01 HartiganHM

Hi @HartiganHM, thanks for the feature suggestion! Being able to replace portions of the PR body sounds pretty handy.

Just so I could better understand the scenario, could you provide a sample config with the intended behaviour you're after.

tzkhan avatar Jan 20 '21 15:01 tzkhan