]> git.p6c8.net - policy-templates.git/commitdiff
feat: Add GH issue templates, config
authorBrian Smith <brian@smith.berlin>
Fri, 12 Dec 2025 17:17:50 +0000 (18:17 +0100)
committerBrian Smith <brian@smith.berlin>
Fri, 12 Dec 2025 17:17:50 +0000 (18:17 +0100)
.github/ISSUE_TEMPLATE/bug.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
new file mode 100644 (file)
index 0000000..a13a825
--- /dev/null
@@ -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 (file)
index 0000000..1220de5
--- /dev/null
@@ -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.

patrick-canterino.de