Skip to content

Commit

Permalink
Correct failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
hugtalbot committed Aug 31, 2023
1 parent 8f862e1 commit a2a5a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/label-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:<br>@'+context.repo.owner+' your PR does includes **too many status labels** :label:<br> Make sure to keep only one (wip, to review or ready).<br>:warning: :warning: :warning:';
github.issues.createComment({
Expand All @@ -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
Expand Down

0 comments on commit a2a5a47

Please sign in to comment.