创建拉动请求时,执行github操作以自动合并
我正在为我的一些项目设置GitHub操作。我想实现的流程是:
- 开发人员打开了一个新的拉力请求
- 该分支自动与主分支合并
我的问题是,是否有可能实现此类工作流程?如果没有,其他可能的选择是什么?
I'm setting up Github actions for a few of my projects. The flow I'd like to achieve is:
- A developer opens a new pull request
- The branch is automatically merged with the main branch
My question is, is it possible to achieve this kind of workflow? If not, what are the other possible alternatives?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 github Action“合并分支” ,例如任何
>功能/XXX
推开分支(您可以根据需要更改命名约定)。You could use the GitHub Action "Merge branch", for instance for any
feature/xxx
branch pushed (you can change the naming convention as you want).