Automatically merge one branch into another basis on some conditions using hook?
问题 I have two branches in my github repository - master and dev branch. I have a requirement where I need to merge master branch into dev branch under below conditions: Once a PR is merged into master branch directly then I need to merge master branch back to dev branch automatically. Whenever someone adds a commit into master branch directly then I need to merge master branch back to dev branch automatically. Is this possible to do by any chance? I believe we can make this work with git Hooks