From a2a5a474a67c1b589ee344e9f20542175650f3d3 Mon Sep 17 00:00:00 2001 From: Hugo Talbot Date: Thu, 31 Aug 2023 21:01:56 +0200 Subject: [PATCH] Correct failure message --- .github/workflows/label-checker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/label-checker.yml b/.github/workflows/label-checker.yml index 60b2d5b3f64..f7b7c4384f1 100644 --- a/.github/workflows/label-checker.yml +++ b/.github/workflows/label-checker.yml @@ -75,7 +75,7 @@ jobs: repo: context.repo.repo, body: comment }); - core.setFailed('Invalid status PR label') + core.setFailed('Missing status PR label') } else if (matchingLabelsCount > 1) { const comment = ':warning: :warning: :warning:
@'+context.repo.owner+' your PR does includes **too many status labels** :label:
Make sure to keep only one (wip, to review or ready).
:warning: :warning: :warning:'; github.issues.createComment({ @@ -84,7 +84,7 @@ jobs: repo: context.repo.repo, body: comment }); - core.setFailed('Invalid status PR label') + core.setFailed('Too many status PR labels') } // Add all PR labels in log