From ec58b6f1c80f1374cf199d4b4b4bd36dfd45125d Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Fri, 12 Dec 2025 18:17:50 +0100 Subject: [PATCH] feat: Add GH issue templates, config --- .github/ISSUE_TEMPLATE/bug.yml | 45 +++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 10 +++++++ 2 files changed, 55 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..a13a825 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,45 @@ +name: "Policy templates" +description: Report a problem with the policy templates +title: "[bug]: " +labels: ["bug"] +assignees: [] + +body: + - type: markdown + attributes: + value: | + If this report is about Firefox policy *implementation* or the *policy engine*, you can file it in Bugzilla directly: + + https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=Enterprise+Policies + + - type: textarea + id: description + attributes: + label: Bug description + description: One or two sentences describing the issue. + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: What did you expect to see? + validations: + required: true + + - type: input + id: firefox-version + attributes: + label: Firefox version + placeholder: "Firefox 123.0, ESR 115.6" + validations: + required: false + + - type: input + id: os + attributes: + label: Operating system + placeholder: "macOS 15.7.1, Ubuntu 22.04" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..1220de5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,10 @@ +blank_issues_enabled: false + +contact_links: + - name: Enterprise Policies + url: https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=Enterprise+Policies + about: Bugs and feature requests related to specific policies implemented in Firefox, or to the policy engine itself should go here. + + - name: Ask a question + url: https://github.com/mozilla/policy-templates/discussions + about: Have a question? Consider starting a discussion. -- 2.43.0