mergeable icon indicating copy to clipboard operation
mergeable copied to clipboard

new feature request: Pass regex captures from validators to actions

Open elieweintraub opened this issue 4 years ago • 1 comments

Example application for this feature: Allow capturing values via regex in Title/Description validator and then using them in Request Review action to dynamically set the reviewer without having to hardcode a list of regexes for a finite set of users.

Example use case: PR description would include something like "Reviewers: user1, user2, user3, ..." on a line to itself. Being able to extract these users and request review from them would be useful because it provides a convenient way for various automation that doesn't use the UI to generate reviews and request reviewers. This would allow automation to use whatever logic to determine the desirable reviewers and not be burdened with the responsibly of interacting with GitHub APIs to actually ensure the reviewers are added.

elieweintraub avatar Jan 15 '21 15:01 elieweintraub

I would also benefit from this workflow. How difficult would this be to implement?

shanson7 avatar Mar 15 '22 17:03 shanson7