From d676b69bbd860cf3d327bf85d3084dd8f872e015 Mon Sep 17 00:00:00 2001 From: Aidan Garske Date: Tue, 29 Sep 2026 09:29:59 -0700 Subject: [PATCH 1/2] Add bug, feature, and tracked follow-up issue forms --- .github/ISSUE_TEMPLATE/bug_report.yml | 62 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature_request.yml | 35 ++++++++++++ .github/ISSUE_TEMPLATE/todo.yml | 34 ++++++++++++ 4 files changed, 136 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/todo.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..798448e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,62 @@ +name: Bug report +description: Something in wolfSPDM behaves wrongly +labels: ["bug"] +body: + - type: textarea + id: summary + attributes: + label: Summary + description: What goes wrong, in one or two sentences. + validations: + required: true + - type: input + id: commit + attributes: + label: Commit or release + placeholder: "e.g. 5b10254f or v1.0.0" + validations: + required: true + - type: dropdown + id: target + attributes: + label: Target + multiple: true + options: + - Nuvoton NPCT75x (silicon) + - Nations NS350 (silicon) + - fwTPM responder + - DMTF spdm-emu + - wolfTPM integration + - Host build / unit tests + - Other + validations: + required: true + - type: dropdown + id: mode + attributes: + label: SPDM mode + options: + - Standard (certificates) + - TCG identity key + - TCG PSK + - Not applicable + - type: textarea + id: steps + attributes: + label: Steps to reproduce + description: Configure flags, SPDM version, and what you ran. + render: shell + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected and actual behavior + validations: + required: true + - type: textarea + id: logs + attributes: + label: Logs + description: Console output, with --enable-debug if possible. + render: text diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..abf735a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Report a security vulnerability + url: https://github.com/wolfSSL/wolfSPDM/security/advisories/new + about: Report vulnerabilities privately, not in a public issue. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..847866f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,35 @@ +name: Feature request +description: Propose new functionality for wolfSPDM +labels: ["enhancement"] +body: + - type: textarea + id: problem + attributes: + label: Problem + description: What is missing or what need does this address? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposal + description: What should wolfSPDM do? + validations: + required: true + - type: textarea + id: spec + attributes: + label: Specification references + description: Clauses from DSP0274, DSP0277, DSP0275, the TCG SPDM binding, or other specs that apply. + - type: textarea + id: acceptance + attributes: + label: Acceptance criteria + description: How we will know it is done (unit tests, spdm-emu runs, hardware runs). + validations: + required: true + - type: input + id: scope + attributes: + label: Area + placeholder: "e.g. requester, responder, TCG binding, PQC, wolfTPM integration, CI" diff --git a/.github/ISSUE_TEMPLATE/todo.yml b/.github/ISSUE_TEMPLATE/todo.yml new file mode 100644 index 0000000..5bfaf66 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/todo.yml @@ -0,0 +1,34 @@ +name: Tracked follow-up +description: Work deferred from a PR, review, or scan that must be done later +labels: ["todo"] +body: + - type: textarea + id: context + attributes: + label: Context + description: Where this came from and why it was deferred. + validations: + required: true + - type: input + id: origin + attributes: + label: Origin + placeholder: "PR, issue, doc section, or scan report" + - type: textarea + id: needed + attributes: + label: What is needed + description: The concrete work, as a short list. + validations: + required: true + - type: textarea + id: blockers + attributes: + label: Blockers and dependencies + description: Hardware, other PRs, or decisions this waits on. + - type: textarea + id: acceptance + attributes: + label: Acceptance criteria + validations: + required: true From d0d6761d3f2b0f015808ac3e7950411b787ea2d3 Mon Sep 17 00:00:00 2001 From: Aidan Garske Date: Tue, 29 Sep 2026 11:33:27 -0700 Subject: [PATCH 2/2] Require origin and area and capture other targets in the issue forms --- .github/ISSUE_TEMPLATE/bug_report.yml | 5 +++++ .github/ISSUE_TEMPLATE/feature_request.yml | 2 ++ .github/ISSUE_TEMPLATE/todo.yml | 2 ++ 3 files changed, 9 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 798448e..cb8833c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -31,6 +31,11 @@ body: - Other validations: required: true + - type: input + id: target_other + attributes: + label: Other target details + description: Board, TPM part, or environment if you picked Other. - type: dropdown id: mode attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 847866f..745b1f6 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -33,3 +33,5 @@ body: attributes: label: Area placeholder: "e.g. requester, responder, TCG binding, PQC, wolfTPM integration, CI" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/todo.yml b/.github/ISSUE_TEMPLATE/todo.yml index 5bfaf66..fc51eba 100644 --- a/.github/ISSUE_TEMPLATE/todo.yml +++ b/.github/ISSUE_TEMPLATE/todo.yml @@ -14,6 +14,8 @@ body: attributes: label: Origin placeholder: "PR, issue, doc section, or scan report" + validations: + required: true - type: textarea id: needed attributes: