Skip to content

Commit cbe84de

Browse files
committed
2 parents 91751e6 + ed10e4f commit cbe84de

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/issue-validation.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@ jobs:
1919
case 'edited': {
2020
if (context.payload.issue.title.match(/\[request\]|feature request/i)) {
2121
labels.push('request');
22-
if (!labels.includes("solved")) {
23-
labels.push('needs review');
24-
setLabels = true;
25-
}
2622
if (labels.includes("incomplete")){
2723
// Remove incomplete label
2824
const index = labels.indexOf("incomplete");
2925
if (index > -1) {
3026
labels.splice(index, 1);
3127
}
28+
// Remove needs triage
29+
const index = labels.indexOf("needs triage");
30+
if (index > -1) {
31+
labels.splice(index, 1);
32+
}
3233
}
3334
}
3435
if (context.payload.issue.title.match(/bug/i)) {
3536
if (!labels.includes("confirmed bug")){
3637
labels.push('potential bug');
37-
labels.push('needs review');
3838
setLabels = true;
3939
}
4040
if (labels.includes("incomplete")){
@@ -44,6 +44,11 @@ jobs:
4444
labels.splice(index, 1);
4545
}
4646
}
47+
// Remove needs triage
48+
const index = labels.indexOf("needs triage");
49+
if (index > -1) {
50+
labels.splice(index, 1);
51+
}
4752
}
4853
if (labels.length === 0) {
4954
labels.push('needs triage');

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
Add some RGB LEDs to your 3D printer for a quick status update!
44

5+
![GitHub issues](https://img.shields.io/github/issues/cp2004/OctoPrint-WS281x_LED_Status?style=flat-square)
6+
![GitHub branch checks state](https://img.shields.io/github/checks-status/cp2004/OctoPrint-WS281x_LED_STATUS/0.7.x?style=flat-square)
7+
![GitHub release (latest by date)](https://img.shields.io/github/downloads/cp2004/OctoPrint-WS281x_LED_Status/latest/total?label=New%20installs%40latest&style=flat-square)
8+
![GitHub Repo stars](https://img.shields.io/github/stars/cp2004/OctoPrint-WS281x_LED_Status?style=flat-square)
9+
![GitHub](https://img.shields.io/github/license/cp2004/OctoPrint-WS281x_LED_Status?style=flat-square)
10+
![GitHub Sponsors](https://img.shields.io/github/sponsors/cp2004?style=flat-square)
11+
512
![rainbow effect](/assets/rainbow.gif)
613

714
A highly configurable plugin for supporting WS2811, WS2812 and SK6812 LEDs attached to your Raspberry Pi.

0 commit comments

Comments
 (0)