Automated Pull Requests
You have recently gone through and implemented pull requests. While the procedure still remains the same, this subtopic introduces a better and efficient way of effecting code integrity on pull requests. Here, we get to demonstrate and implement how to prevent branch merges before certain conditions are met.
We have recently pushed changes to a new branch and added configuration files for a build pipeline, and it would be best if all of the branches are based on this. In order to achieve this, a pull request needs to be set up and merged against the master branch.
Exercise 42: Utilizing Automated Pull Requests
To set up an automated pull request and merge against the master branch.
- Open your abacus GitHub repository. Since the changes you just made were the most recent updates, you will get a Compare & pull request pop up, as shown in the following screenshot:
Figure 6.19: Abacus repository
- Select Compare and create a pull request...