I want to trigger tests through Github Actions when a PR completes code review. I have set Required number of approvals before merging to 2, but I couldn't find any relevant events in the documentation. I hope to trigger the tests when both of the two reviewers approve.
I have tried possible events already, but it's not work.
pull_request_review: submittedpull_request: review_requestedcheck_run: completed
Any help or explanation is welcome! Thank you.
Have you tried using the pull_request event and filtering based on the
auto_merge_enabledactivity type?I am not 100% sure it will work, but worth a try. I think if you have made two reviews compulsory, auto merging will be off until approvals come in.
Let me know if it works!