mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 11:02:16 +00:00
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:
10
.github/workflows/labeler.yml
vendored
10
.github/workflows/labeler.yml
vendored
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user