Unblu logo

Configuration file

The branches of interest, and the direction and order of the consecutive automatic merges, is configured in the JSON file ucascade.json. This file must be present in the root directory of the repository.

Example:

{
  "branches" : [ {
    "sourceBranchPattern" : "main/1\\.2\\.x",
    "targetBranch" : "main/1.3.x"
  }, {
    "sourceBranchPattern" : "main/1\\.3\\.x/[0-9]{4}\\.[0-9]{2}",
    "targetBranch" : "main/1.3.x"
  }, {
    "sourceBranchPattern" : "main/1\\.3\\.x",
    "targetBranch" : "main/2.0.x"
  }, {
    "sourceBranchPattern" : "main/2\\.0\\.x/[0-9]{4}\\.[0-9]{2}",
    "targetBranch" : "main/2.0.x"
  } ]
}