mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 03:58:05 +00:00
run the build script
This commit is contained in:
10
dist/index.js
vendored
10
dist/index.js
vendored
@@ -213,12 +213,12 @@ function checkAll(changedFiles, globs) {
|
||||
}
|
||||
function matchBranchPattern(matcher, branchName) {
|
||||
core.debug(` - ${printPattern(matcher)}`);
|
||||
if (!matcher.match(branchName)) {
|
||||
core.debug(` ${printPattern(matcher)} did not match`);
|
||||
return false;
|
||||
if (matcher.match(branchName)) {
|
||||
core.debug(` "branch" pattern matched`);
|
||||
return true;
|
||||
}
|
||||
core.debug(` "branch" pattern matched`);
|
||||
return true;
|
||||
core.debug(` ${printPattern(matcher)} did not match`);
|
||||
return false;
|
||||
}
|
||||
function checkBranch(glob) {
|
||||
const branchName = getBranchName();
|
||||
|
||||
Reference in New Issue
Block a user