From 27f9f8f205b61d7e58f9d48781b612ff630b8c37 Mon Sep 17 00:00:00 2001 From: Muhaddis Date: Tue, 7 Sep 2021 14:48:41 +0500 Subject: [PATCH] trigger if atleast one label is missing --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,