mirror of
https://github.com/actions/labeler.git
synced 2025-12-13 04:57:21 +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) {
|
function matchBranchPattern(matcher, branchName) {
|
||||||
core.debug(` - ${printPattern(matcher)}`);
|
core.debug(` - ${printPattern(matcher)}`);
|
||||||
if (!matcher.match(branchName)) {
|
if (matcher.match(branchName)) {
|
||||||
core.debug(` ${printPattern(matcher)} did not match`);
|
core.debug(` "branch" pattern matched`);
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
core.debug(` "branch" pattern matched`);
|
core.debug(` ${printPattern(matcher)} did not match`);
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
function checkBranch(glob) {
|
function checkBranch(glob) {
|
||||||
const branchName = getBranchName();
|
const branchName = getBranchName();
|
||||||
|
|||||||
Reference in New Issue
Block a user