Github workflow automerge

Hi,

   Could someone share workflow action, merge to base brach after approving the PR.

Thanks

  Krishna 

@krishnamanchikalapud ,

According to your request, the main steps I’m considering are like as below:

  1. When all the reviewers have approved, trigger a workflow.

  2. In the workflow to execute the GitHub REST API Merge a pull request.

However, I found there is not a build-in activity type for pull_request_review event that to check if all the reviewers have approved, for example pull_request_review.all_approved. The existsing activity type pull_request_review.submitted will let the workflow be triggered every time a reviewer approved or submitted comment. On pull_request event, also no have available activity type.

I also tested some APIs which are related to PR to try to check if the PR has been approved by all the reviewers, but did not find an available one. And on GitHub Marketplace, also did not find any action can check this.

Looks like, currently we have no available and easy way to meet your request.
If your projects really need this feature, I recommend you directly report a feature request here. That will allow you to directly interact with the appropriate engineering team, and make it more convenient for the engineering team to collect and categorize your suggestions.