mirror of
https://github.com/actions/labeler.git
synced 2025-12-14 13:47:02 +00:00
Add the changedFiles key and update logic in labeler
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user