From a01f51916eb3a3989b0bcbc2e2dbcbc724515414 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 25 Nov 2026 00:17:04 -0500
Subject: [PATCH] .github: Added an issue template.
This shows some helpful tips about how to submit good bugs and has a checkbox
saying something like "I promise this isn't just a wall of LLM-generated text."
---
.github/ISSUE_TEMPLATE/01-bug_report.yml | 26 ++++++++++++++++++++++++
.github/ISSUE_TEMPLATE/config.yml | 1 +
2 files changed, 27 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/01-bug_report.yml
create mode 100644 .github/ISSUE_TEMPLATE/config.yml
diff --git a/.github/ISSUE_TEMPLATE/01-bug_report.yml b/.github/ISSUE_TEMPLATE/01-bug_report.yml
new file mode 100644
index 0000000000000..486a4139b45f9
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/01-bug_report.yml
@@ -0,0 +1,26 @@
+name: Bug Report
+description: File a bug report.
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Hi, here are [some tips](https://wiki.libsdl.org/SDL3/HowToReportBugs) for reporting SDL bugs!
+
+ - [Are you here to ask a question?](https://wiki.libsdl.org/SDL3/HowToReportBugs#dont-use-the-bug-tracker-for-questions)
+ - [Are you sure it's an SDL bug?](https://wiki.libsdl.org/SDL3/HowToReportBugs#try-the-example-programs)
+ - [Are you sure it's SDL's memory leak?](https://wiki.libsdl.org/SDL3/HowToReportBugs#reporting-memory-leaks)
+ - [Tell us what platform you're using.](https://wiki.libsdl.org/SDL3/HowToReportBugs#tell-us-what-platform-youre-using)
+
+ Thank you for helping make SDL better!
+ - type: checkboxes
+ attributes:
+ label: "By opening this issue, I confirm that:"
+ options:
+ - label: "I did not paste LLM-generated text into this description."
+ required: true
+ - type: textarea
+ id: what-happened
+ attributes:
+ label: Add a description.
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000000000..3ba13e0cec6cb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1 @@
+blank_issues_enabled: false