You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to match comment bodies based on regex whereas right now this only works with containment. From briefly looking at the source code I think this might work by replacing references to string.includes with string.match. Happy to try and contribute this feature if there is interest.
The text was updated successfully, but these errors were encountered:
I would be interested in supporting this feature, but I would be concerned about making a breaking behaviour change if we replaced includes with match. What I would prefer to do instead is add a new action input called body-regex, and leave body-includes untouched. The new input can be added to this function.
Feel free to take a shot at it if you like. I'm going to be away for about 2 weeks now, but if you send a PR I'll review it when I'm back.
It would be great to be able to match comment bodies based on regex whereas right now this only works with containment. From briefly looking at the source code I think this might work by replacing references to
string.includes
withstring.match
. Happy to try and contribute this feature if there is interest.The text was updated successfully, but these errors were encountered: