Problem Statement
When @PRODHOSH approves a pull request, they still have to wait for the Vercel deployment/CI checks to finish before they can click merge, which slows down the workflow.
Proposed Solution
Enable GitHub's "Auto-merge" feature in the repository settings. Then, create a workflow listening to pull_request_review.submitted. If the review state is approved and the reviewer is @PRODHOSH, the workflow should automatically enable the auto-merge flag for that PR so it merges the exact second CI passes.
Alternatives Considered
Using an external bot like Mergify.
Additional Context
We want to keep this natively inside GitHub Actions to reduce third-party dependencies.
Problem Statement
When
@PRODHOSHapproves a pull request, they still have to wait for the Vercel deployment/CI checks to finish before they can click merge, which slows down the workflow.Proposed Solution
Enable GitHub's "Auto-merge" feature in the repository settings. Then, create a workflow listening to
pull_request_review.submitted. If the review state isapprovedand the reviewer is@PRODHOSH, the workflow should automatically enable the auto-merge flag for that PR so it merges the exact second CI passes.Alternatives Considered
Using an external bot like Mergify.
Additional Context
We want to keep this natively inside GitHub Actions to reduce third-party dependencies.