Skip to content

[FEAT] Auto-merge PRs immediately upon maintainer approval #329

Description

@github-actions

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ELUSOCELUSOC project submissionVETERANAdvanced — 50 ptsenhancementNew feature or improvementgithub-actionsCI/CD & Workflows

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions