Add the changedFiles key and update logic in labeler

This commit is contained in:
Josh Dales
2023-01-29 14:10:07 -05:00
parent 7a5c525049
commit 969899da68
4 changed files with 51 additions and 22 deletions

View File

@@ -10,7 +10,7 @@ type BranchBase = 'base' | 'head';
export function toBranchMatchConfig(config: any): BranchMatchConfig {
if (!config['head-branch'] || config['base-branch']) {
return config;
return {};
}
const branchConfig = {