Open jakeleventhal opened 9 months ago
Do you think this can be done with if
statements in the yaml file to provide different configuration paths for different branches?
I suppose this solution works, but modifyign the config to support key/value of regex branch mapping would be ideal
// old
{ <config> }
// new
{
default: <config>
overrides: {
[regex1]: {overrides},
[regex2]: {overrides}
}
}
There should be a way to have checks per-branch
Meaning if targeting develop, check X If targeting master, check Y