mirror of
https://github.com/actions/labeler
synced 2026-11-18 11:07:39 +01:00
Fix some typos in the branch checks
This commit is contained in:
4 files changed
+15
-15
No files matched your search
+1
-1
@@ -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