tzkhan / pr-update-action

GitHub Action that updates a pull request with information extracted from branch name

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to partially replace body by regex

HartiganHM opened this issue · 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!

Duplicate issue on accident. Closing this one.