I have just added a new protection rule that applies to all branches. This rule specifies the PR's are always required. However, authors may still push to their own branches, as I have just verified.
Info item
#1058 discusses how to create and use branches. The most important point:
Everything new comes from devel and goes to devel.
The recent chaos arose from two separate serious mistakes:
- A merge was made into a branch that the merging author did not own. This should no longer be possible.
- The merged branch was not based on devel. Basing branches on devel should make it possible to handle separate branches as independently as possible.
Summary
We can all learn from these mistakes:
- After it was too late I realized that I could undo the offending PR. There was an undo button that I had never noticed before.
- Requiring PR's for all branches should prevent unwanted interference in other people's code.
Edward