diff --git a/.github/workflows/issue-validation.yml b/.github/workflows/issue-validation.yml index ba72a65..d8be205 100644 --- a/.github/workflows/issue-validation.yml +++ b/.github/workflows/issue-validation.yml @@ -19,22 +19,22 @@ jobs: case 'edited': { if (context.payload.issue.title.match(/\[request\]|feature request/i)) { labels.push('request'); - if (!labels.includes("solved")) { - labels.push('needs review'); - setLabels = true; - } if (labels.includes("incomplete")){ // Remove incomplete label const index = labels.indexOf("incomplete"); if (index > -1) { labels.splice(index, 1); } + // Remove needs triage + const index = labels.indexOf("needs triage"); + if (index > -1) { + labels.splice(index, 1); + } } } if (context.payload.issue.title.match(/bug/i)) { if (!labels.includes("confirmed bug")){ labels.push('potential bug'); - labels.push('needs review'); setLabels = true; } if (labels.includes("incomplete")){ @@ -44,6 +44,11 @@ jobs: labels.splice(index, 1); } } + // Remove needs triage + const index = labels.indexOf("needs triage"); + if (index > -1) { + labels.splice(index, 1); + } } if (labels.length === 0) { labels.push('needs triage'); diff --git a/README.md b/README.md index fe062f2..df20a66 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,13 @@ Add some RGB LEDs to your 3D printer for a quick status update! +![GitHub issues](https://img.shields.io/github/issues/cp2004/OctoPrint-WS281x_LED_Status?style=flat-square) +![GitHub branch checks state](https://img.shields.io/github/checks-status/cp2004/OctoPrint-WS281x_LED_STATUS/0.7.x?style=flat-square) +![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) +![GitHub Repo stars](https://img.shields.io/github/stars/cp2004/OctoPrint-WS281x_LED_Status?style=flat-square) +![GitHub](https://img.shields.io/github/license/cp2004/OctoPrint-WS281x_LED_Status?style=flat-square) +![GitHub Sponsors](https://img.shields.io/github/sponsors/cp2004?style=flat-square) + ![rainbow effect](/assets/rainbow.gif) A highly configurable plugin for supporting WS2811, WS2812 and SK6812 LEDs attached to your Raspberry Pi.