mirror of
https://github.com/actions/labeler.git
synced 2025-12-14 13:47:02 +00:00
Fix some typos in the branch checks
This commit is contained in:
@@ -9,7 +9,7 @@ export interface BranchMatchConfig {
|
||||
type BranchBase = 'base' | 'head';
|
||||
|
||||
export function toBranchMatchConfig(config: any): BranchMatchConfig {
|
||||
if (!config['head-branch'] || config['base-branch']) {
|
||||
if (!config['head-branch'] && !config['base-branch']) {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user