Skip to content

Commit e0f7fa6

Browse files
committed
Run 'npm run prepare'
Signed-off-by: Kyle Squizzato <[email protected]>
1 parent 5240552 commit e0f7fa6

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9847,9 +9847,13 @@ async function run() {
98479847
).data.map((label) => label.name);
98489848
core.debug(`Found ${labels.length} labels: ${labels.join(", ")}`);
98499849

9850-
// If labels already exist, skip adding new labels
9851-
if (labels.length > 0) {
9852-
core.info("Labels already exist on PR, skipping adding new labels");
9850+
// Check if any type:: labels already exist
9851+
const existingTypeLabels = labels.filter(label => label.startsWith("type::"));
9852+
core.debug(`Found ${existingTypeLabels.length} type labels: ${existingTypeLabels.join(", ")}`);
9853+
9854+
// If type labels already exist, skip adding new labels
9855+
if (existingTypeLabels.length > 0) {
9856+
core.info("Type labels already exist on PR, skipping adding new labels");
98539857
} else {
98549858
// Get PR details to check for semantic commit messages
98559859
await addSemanticLabels(octokit, labels);

.github/actions/pr-labels/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)