From bc650ccf823a96c2e0277f47cceffab015e3feca Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Thu, 23 Oct 2025 20:52:15 +0200 Subject: [PATCH] chore: update external converter/new device support bot https://github.com/Nerivec/zigbee2mqtt-windfront/pull/298 --- ...issue.yml => new_device_external_converter_bot.yml} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename .github/workflows/{new_device_support_issue.yml => new_device_external_converter_bot.yml} (92%) diff --git a/.github/workflows/new_device_support_issue.yml b/.github/workflows/new_device_external_converter_bot.yml similarity index 92% rename from .github/workflows/new_device_support_issue.yml rename to .github/workflows/new_device_external_converter_bot.yml index 1ec1bc25..ade7c3e3 100644 --- a/.github/workflows/new_device_support_issue.yml +++ b/.github/workflows/new_device_external_converter_bot.yml @@ -1,4 +1,4 @@ -name: New Device Support Issue +name: New Device Support/External Converter Issue Bot on: issues: @@ -12,14 +12,16 @@ jobs: comment: runs-on: ubuntu-latest steps: - - name: Comment on new device support issue + - name: Comment on new device support/external converter issue uses: actions/github-script@v8 with: script: | const issue = context.payload.issue; + const newDeviceSupport = issue.title && issue.title.startsWith("[New device support]"); + const externalConverter = issue.title && issue.title.startsWith("[External Converter]"); - // Only proceed if the issue title starts with "[New device support]" - if (!issue.title || !issue.title.startsWith("[New device support]")) { + // Only proceed for new device support or external converter issues + if (!newDeviceSupport && !externalConverter) { return; }