diff --git a/.github/workflows/github-actions-release-candidate.yml b/.github/workflows/github-actions-release-candidate.yml index cd76ad76bd..63024049a9 100644 --- a/.github/workflows/github-actions-release-candidate.yml +++ b/.github/workflows/github-actions-release-candidate.yml @@ -31,7 +31,7 @@ jobs: if (presentRequiredLabels.length === 0) { core.setFailed('Your pull request is missing a required Semver label: (${requiredLabels.join(', ')})'); - else if (presentRequiredLabels.length > 1) { + } else if (presentRequiredLabels.length > 1) { core.setFailed('Your pull request has multiple Semver labels. Please use only one.') } else { console.log('Pull request has a required Semver label.');