Skip to content

Commit

Permalink
Implement case-insensitive matching for head branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
DatpmtBravesoft committed Jan 10, 2025
1 parent 8c2e3ec commit f86e422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ function getBranchName(branchBase) {
return (_a = pullRequest.base) === null || _a === void 0 ? void 0 : _a.ref;
}
else {
return (_b = pullRequest.head) === null || _b === void 0 ? void 0 : _b.ref;
return (_b = pullRequest.head) === null || _b === void 0 ? void 0 : _b.ref.toLowerCase();
}
}
function checkAnyBranch(regexps, branchBase) {
Expand Down

0 comments on commit f86e422

Please sign in to comment.