From 9f13f7913c00d9f22f9a9c027c964c6057a22d1b Mon Sep 17 00:00:00 2001 From: Jeod <47716344+JeodC@users.noreply.github.com> Date: Sun, 28 Sep 2025 16:52:49 -0400 Subject: [PATCH] Update issue template to automatically assign issue labels based on checkboxes selected (#436) * Update issue template to automatically assign labels based on bug type checkbox * Add additional label for custom pack bug --- .github/ISSUE_TEMPLATE/01-bug-report.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/01-bug-report.yml b/.github/ISSUE_TEMPLATE/01-bug-report.yml index ce6ac8d..d78f85b 100644 --- a/.github/ISSUE_TEMPLATE/01-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/01-bug-report.yml @@ -8,6 +8,19 @@ body: attributes: label: "Version" description: "Specify the version of the game you used when you encountered the bug. You can find the game version at the bottom-left of the title screen." + + - type: checkboxes + id: bug_type + attributes: + label: "Bug Type" + description: "Select all that apply (leave blank if unsure)." + options: + - label: campaign bug + - label: editor bug + - label: custom pack bug + - label: ui bug + validations: + required: false - type: textarea id: description @@ -25,4 +38,7 @@ body: id: screenshots attributes: label: "Screenshots" - description: "If applicable, add screenshots to help explain the bug." \ No newline at end of file + description: "If applicable, add screenshots to help explain the bug." + +labels: + - ${{ values.bug_type }} \ No newline at end of file