mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 03:58:05 +00:00
Run build
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -205,10 +205,8 @@ function checkAll(changedFiles, globs) {
|
||||
}
|
||||
function checkBranch(glob) {
|
||||
const matcher = new minimatch_1.Minimatch(glob);
|
||||
const branchName = github.context.ref;
|
||||
const branchName2 = github.context.payload.pull_request.head.ref;
|
||||
const branchName = github.context.payload.pull_request.head.ref;
|
||||
core.debug(` checking "branch" pattern against ${branchName}`);
|
||||
core.debug(` - but we should be checking ${branchName2}`);
|
||||
core.debug(` - ${printPattern(matcher)}`);
|
||||
if (!matcher.match(branchName)) {
|
||||
core.debug(` ${printPattern(matcher)} did not match`);
|
||||
|
||||
Reference in New Issue
Block a user