只要要对master进行任何更改,我们都希望自动从master合并到另一个长期存在的分支(此刻,这是一个手动过程,人们会忘记)
我理解由于合并冲突,并非总是可能的,但是如果可能的话,我们希望它会自动发生.
这可能吗?
解决方案自2020年12月16日开始提供
本地GitHub自动合并是2天前在GitHub Universe上引入的.
提示:您要防止合并的分支堆积吗?也启用自动分支删除
来源
虽然这可能不仅仅是用例所需要的,但它可以与GitHub Actions一起使用,以更轻松地到达那里.
We want to automatically merge out from master to another long-lived branch whenever any changes are committed to master (at the moment, this is a manual process and people forget)
I appreciate that it may not always be possible, owing to merge conflicts, but if it is possible, we'd like it to happen automatically.
Is this possible?
解决方案Is available since 2020-12-16
The native GitHub Auto-Merge was introduced on GitHub Universe 2 days ago.
How to active them? Go to Settings of your repository, e.g. github/rectorphp/rector/settings, then ↓
Tip: do you want to prevent merged branch piling up? Enable autobranch removal too
Source
While it might not be solely what you need to you for your use case, it can be used with GitHub Actions to get there more easily.
更多推荐
GitHub可以自动合并分支吗?
发布评论