v1.21.0
Add support for enforcing regex rules on PR Title (#256)
Adds functionality for disapproving pull requests which do not comply by defined title formatting requirements as mentioned in #244.
- A new predicate
title
is added for defining allowed (not_match
) and disallowed (match
) regex patterns on a pull request title. - The
disapproval
policy is extended to allow predicates just as individualapproval_rules
do. However, whereas an approval rule may only allow approvals subject to passing predicates, thedisapproval
policy will only allow disapprovals subject to its own predicates all failing. Passing predicates on thedisapproval
policy will trigger a default disapproval, just as failing predicates on an approval rule will implicitly approve (pass).
Add support for handling review comments (#257)
Adds support for handling review comments like regular comments, thus allowing users to approve or disapprove without switching back to the "Conversation" tab of the pull request whilst reviewing the changes. Fixes #51.