Review Process Based on Code Annotations
Add a waiting or author attention label based on changes
workflows:
- name: attention-set
run:
- if: $isWaitingForReview()
then: $addLabel("waiting-review")
- if: $isWaitingForReview() == false
then: $removeLabel("waiting-review")
- if: $hasUnaddressedThreads()
then: $addLabel("requires-author-attention")
- if: $hasUnaddressedThreads() == false
then: $removeLabel("requires-author-attention")