Skip to content

Commit 98fabc3

Browse files
committed
Merge branch 'adamancini-patch-primary-labels' into adamancini-patch-node-20
2 parents 46a89e5 + b80f988 commit 98fabc3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/actions/pr-labels/src/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ async function run() {
3737
core.debug(`Found primary labels: ${primaryLabels.join(", ")}`);
3838
if (primaryLabels.length !== 1) {
3939
throw new Error(
40-
`Exactly one primary label must be set. Found: ${primaryLabels.join(
41-
", "
42-
)}`
40+
`Exactly one primary label must be set from [${PRIMARY_LABELS.join(", ")}]. Found: ${primaryLabels.join(", ")}`
4341
);
4442
}
4543

0 commit comments

Comments
 (0)