ci(labeler): match emoji-renamed labels (#3672)

Labels were renamed to add emojis (Adafruit 🌸, Sponsor 💖, Prio 🚩,
Prio Top 🚨); update the hardcoded label names in the labeler script
to match so they attach to the existing labels instead of recreating
plain ones.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ha Thach
2026-06-04 14:27:54 +07:00
committed by GitHub
parent 709b33d848
commit 3d0516f439

View File

@ -51,7 +51,7 @@ jobs:
if (adafruitResponse.status === 204) {
console.log('Adafruit Member');
labels = ['Adafruit', 'Sponsor', 'Prio Top'];
labels = ['Adafruit 🌸', 'Sponsor 💖', 'Prio Top 🚨'];
}
} catch (error) {
console.log('Not an Adafruit member');
@ -93,13 +93,13 @@ jobs:
if (monthly >= 128) {
console.log('Sponsor (DWORD/QWORD tier)');
labels = ['Sponsor', 'Prio Top'];
labels = ['Sponsor 💖', 'Prio Top 🚨'];
} else if (monthly >= 32) {
console.log('Sponsor (Word tier)');
labels = ['Sponsor', 'Prio'];
labels = ['Sponsor 💖', 'Prio 📌'];
} else {
console.log('Sponsor (below Word tier or tier not visible)');
labels = ['Sponsor'];
labels = ['Sponsor 💖'];
}
} else {
console.log('Not a public sponsor');
@ -120,7 +120,7 @@ jobs:
if (collaboratorResponse.status === 204) {
console.log('Contributor');
labels = ['Prio'];
labels = ['Prio 📌'];
}
} catch (error) {
console.log('Not a contributor');