Introduce the step to read the configuration from the json file which should be presented in repository.
The name and the path of the cofiguration file is configurable
The workflow parameters changed to have config_file_path and configuration_file_branch
Reason of changing the flow
To improve UX to onboard and create the configuration
Configuration example
{
"merge-flow-configurations": {
// The key of the object is source branch
"release/8.0.3xx": {
// The branch to which PR should be created
"MergeToBranch": "release/8.0.4xx",
// extra switches similar to the https://github.com/dotnet/versions/blob/main/Maestro/subscriptions.json file
"ExtraSwitches": "-QuietComments"
},
"release/8.0.4xx": {
"MergeToBranch": "main",
"ExtraSwitches": "-QuietComments"
}
}
}
Changes made
Reason of changing the flow
To improve UX to onboard and create the configuration
Configuration example
Workflow file example
Checks
The configuration reading step was tested here: