mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 03:58:05 +00:00
Build command
This commit is contained in:
6
dist/index.js
vendored
6
dist/index.js
vendored
@@ -91,11 +91,11 @@ function checkAllBranch(regexps, branchBase) {
|
||||
const matchers = regexps.map(regexp => new RegExp(regexp));
|
||||
for (const matcher of matchers) {
|
||||
if (!matchBranchPattern(matcher, branchName)) {
|
||||
core.debug(` "branch" patterns matched against ${branchName}`);
|
||||
core.debug(` "branch" patterns did not match against ${branchName}`);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
core.debug(` "branch" patterns did not match against ${branchName}`);
|
||||
core.debug(` "branch" patterns matched against ${branchName}`);
|
||||
return true;
|
||||
}
|
||||
exports.checkAllBranch = checkAllBranch;
|
||||
@@ -481,7 +481,7 @@ function checkAll(matchConfigs, changedFiles) {
|
||||
}
|
||||
if (matchConfig.changedFiles) {
|
||||
if ((0, changedFiles_1.checkAllChangedFiles)(changedFiles, matchConfig.changedFiles)) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (matchConfig.headBranch) {
|
||||
|
||||
Reference in New Issue
Block a user