Forum Discussion

tmiket's avatar
tmiket
New Member
6 months ago

Can collab automatically reject a review based on content?

We have an API, e.g. get_foo() that we want to deprecate from the code-base.

While existing use-cases are removed we want to prevent any new reviews/promotions from using this API.

Can collab be configured, perhaps with a script, to basically grep the file contents being reviewed and automatically reject the review if the deprecated API is contained within the review files?

The key point is this is an automatic action and not dependent on a human to detect the use of the deprecated API.