Skip to content

Commit 70237f1

Browse files
Allow None framework
1 parent c757596 commit 70237f1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/ISSUE_TEMPLATE/submit-plugin.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ body:
5353
id: frameworks
5454
attributes:
5555
label: Frameworks
56-
description: What framework(s) does this plugin use? (Select all that apply)
56+
description: What framework(s) does this plugin use? (Select all that apply, or choose None)
5757
multiple: true
5858
options:
59+
- None
5960
- DPF
6061
- Faust
6162
- FLTK

.github/workflows/process-submission.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ jobs:
8989
const regex = new RegExp(`### ${fieldName}\\s*\\n\\s*([^#]+?)(?=###|$)`, 'i');
9090
const match = body.match(regex);
9191
if (!match) return [];
92-
return match[1].split(',').map(s => s.trim()).filter(s => s && s !== '_No response_');
92+
return match[1]
93+
.split(',')
94+
.map(s => s.trim())
95+
.filter(s => s && s !== '_No response_' && s.toLowerCase() !== 'none');
9396
};
9497
9598
let entry = {};

0 commit comments

Comments
 (0)