Skip to content

Commit f86e422

Browse files
Implement case-insensitive matching for head branch name
1 parent 8c2e3ec commit f86e422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ function getBranchName(branchBase) {
531531
return (_a = pullRequest.base) === null || _a === void 0 ? void 0 : _a.ref;
532532
}
533533
else {
534-
return (_b = pullRequest.head) === null || _b === void 0 ? void 0 : _b.ref;
534+
return (_b = pullRequest.head) === null || _b === void 0 ? void 0 : _b.ref.toLowerCase();
535535
}
536536
}
537537
function checkAnyBranch(regexps, branchBase) {

0 commit comments

Comments
 (0)