I have a situation, where i need to attach already created label ("Verified Build") to the Pull Request, if build/status check for that PR is green/fine.
Steps:
- User created a PR
- Started Build/Status check
- if check is fine, add label as ("Verified Build")
- If check is failing, add label as ("Build Failed")
I have gone through the documentation but couldn't find proper answer for the problem. Can someone please help on this?