diff --git a/dist/index.js b/dist/index.js index 5d2425b..8463b46 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6345,7 +6345,7 @@ try { }); } else if ( missingLabels.length === requiredLabels.length && - missingLabels.length > 1 + missingLabels.length > 0 ) { octokit.rest.issues.createComment({ issue_number: github.context.issue.number, diff --git a/index.js b/index.js index e95de43..31a6b37 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ try { }); } else if ( missingLabels.length === requiredLabels.length && - missingLabels.length > 1 + missingLabels.length > 0 ) { octokit.rest.issues.createComment({ issue_number: github.context.issue.number,