mirror of
https://github.com/actions/labeler
synced 2026-05-08 17:41:02 +02: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