Skip to content

Commit

Permalink
Merge branch 'adamancini-patch-primary-labels' into adamancini-patch-…
Browse files Browse the repository at this point in the history
…node-20
  • Loading branch information
adamancini committed May 2, 2024
2 parents 46a89e5 + b80f988 commit 98fabc3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/actions/pr-labels/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ async function run() {
core.debug(`Found primary labels: ${primaryLabels.join(", ")}`);
if (primaryLabels.length !== 1) {
throw new Error(
`Exactly one primary label must be set. Found: ${primaryLabels.join(
", "
)}`
`Exactly one primary label must be set from [${PRIMARY_LABELS.join(", ")}]. Found: ${primaryLabels.join(", ")}`
);
}

Expand Down

0 comments on commit 98fabc3

Please sign in to comment.