Skip to content

Commit bc650cc

Browse files
committed
chore: update external converter/new device support bot Nerivec/zigbee2mqtt-windfront#298
1 parent c4c1299 commit bc650cc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/new_device_support_issue.yml renamed to .github/workflows/new_device_external_converter_bot.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: New Device Support Issue
1+
name: New Device Support/External Converter Issue Bot
22

33
on:
44
issues:
@@ -12,14 +12,16 @@ jobs:
1212
comment:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Comment on new device support issue
15+
- name: Comment on new device support/external converter issue
1616
uses: actions/github-script@v8
1717
with:
1818
script: |
1919
const issue = context.payload.issue;
20+
const newDeviceSupport = issue.title && issue.title.startsWith("[New device support]");
21+
const externalConverter = issue.title && issue.title.startsWith("[External Converter]");
2022
21-
// Only proceed if the issue title starts with "[New device support]"
22-
if (!issue.title || !issue.title.startsWith("[New device support]")) {
23+
// Only proceed for new device support or external converter issues
24+
if (!newDeviceSupport && !externalConverter) {
2325
return;
2426
}
2527

0 commit comments

Comments
 (0)