Automatically merge verified and tested GitHub Pull Requests

前端 未结 6 1218
醉话见心
醉话见心 2021-02-04 11:42

I\'d like to automatically (i.e. from Jenkins) merge a GitHub pull request that has been approved by a person and has been tested successfully; in other words, when all THREE of

6条回答
  •  粉色の甜心
    2021-02-04 11:48

    I wrote an app that does this. It responds to the review, labelled, and commit status/checks events, and merges when the merge button is green.

    The fact that it merges when the merge button is green means that you can configure the requirements for a mergeable PR in the GitHub settings, there's no need to write separate configuration for the app.

    Mergery is:

    • Free, including for private repositories.
    • Fast. It's event-driven, it doesn't run on a schedule.
    • Simple. No configuration required. Just label your PRs with automerge.

提交回复
热议问题