Automatically merge verified and tested GitHub Pull Requests

前端 未结 6 1227
醉话见心
醉话见心 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 12:01

    That is now (Dec. 2020, 4 years later) available:

    Pull request auto-merge public beta

    Pull request auto-merge is now rolling out as a public beta!

    With auto-merge, pull requests can be automatically merged when all requirements for merging are met. No more waiting for long checks to finish just so you can press the merge button!

    To use auto-merge, a repository maintainer or admin must first toggle on the repository setting to allow auto-merge (see steps).
    Then any user with write permission can enable or disable auto-merge by navigating to the pull request page.

    Keep in mind that auto-merge is only available for pull requests targeting a branch with required reviews or required status checks, and therefore is only available on public repositories and private repositories on Team and GitHub Enterprise Cloud plans.

    Learn more about pull request auto-merge.

提交回复
热议问题