AICoE/sesheta

Sesheta webhook is not adding `approved` label after review

Closed this issue · 1 comments

Describe the bug
The feature to add approved label after the review approved is not being triggered.
approved label is being attached with the sesheta-approver bot to confirm.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the pull request, you are being requested for.
  2. Click on review, review and if everything is okay, click submit.
  3. Scroll down to comment
  4. if approved label is not added then its an error

Expected behavior
After the reviewer approval, sesheta webhook bot should add approved tag to the pull request.

Screenshots
not applicable

Additional context
check why this is not being triggered

elif review["state"] == "approved":

Fixed with #15.
Closing the issue.