Review Process Based on Code Annotations
// reviewpad-an:
. This allows you to streamline and standardize your review process, ensuring compliance with your established standardsAssign 3 Reviewers if the Code Has a Critical Annotation
labels:
critical:
description: Critical code
color: fd5e53
# Adds Label critical if the code has one annotation critical
workflows:
- name: critical
description: Modifications of critical code require careful review
run:
if: $hasAnnotation("critical")
then: $assignReviewer($group("Team Leader"),3)