Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Add pull request template

rustdeske5afd9c75b54
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 000000000..8813c42ab
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,72 @@
+<!--
+Read these before opening a PR. They apply whether the code is AI-generated or written by hand:
+- Feature PRs need maintainer approval first: https://github.com/rustdesk/rustdesk/discussions/17223
+- End-to-end testing on real devices is mandatory: https://github.com/rustdesk/rustdesk/discussions/17225
+
+PRs that skip these requirements, leave the sections below empty, or have an
+unjustifiably large regression surface may be closed without review.
+Translation-only and docs-only PRs may skip the test and regression sections.
+-->
+
+## Type
+
+- [ ] Bug fix
+- [ ] Feature / enhancement
+- [ ] Translation / documentation / CI
+
+## Linked issue or approval
+
+<!--
+Bug fix: link the issue (Fixes #...).
+Feature: link the discussion where a maintainer approved it. Feature PRs without
+prior approval will be closed without review. Approval of the idea does not
+guarantee that the implementation will be accepted.
+-->
+
+## What and why
+
+<!-- The problem, the root cause (for bug fixes), and how this change addresses it. Keep it short. -->
+
+## End-to-end test on real devices
+
+<!--
+Compiling, unit tests, CI, code reading, and AI analysis are not substitutes for this.
+If you could not reproduce the issue or lack the environment, say so below.
+Do not claim a fix based on reasoning alone.
+-->
+
+**Environment** (each device: OS and version, controlling or controlled side; direct or relay; public or self-hosted server):
+
+-
+
+**Reproduced on master** (bug fixes: how you triggered the original issue):
+
+**Steps and actual results with this PR:**
+
+1.
+
+**Not tested / could not reproduce:**
+
+<!-- Attach screenshots or a short recording for UI or behavior changes. -->
+
+## Regression surface
+
+<!--
+List the existing files and runtime paths whose behavior changes, why each change
+is unavoidable, and which existing functionality around them you re-tested.
+Cover backward compatibility (older clients/servers) and other platforms.
+New code that only runs when the new feature is used does not need to be listed.
+-->
+
+## Known limits
+
+<!-- Optional: corner cases deliberately left unhandled. -->
+
+## Checklist
+
+- [ ] Features: a maintainer approved this in a discussion before I started (linked above).
+- [ ] I tested this end to end on real devices on every platform it touches, and the results above come from those runs.
+- [ ] Bug fixes: I reproduced the original issue on master and confirmed this PR fixes it.
+- [ ] I re-tested the existing functionality listed under "Regression surface".
+- [ ] The diff contains only what this change needs: no unrelated refactoring, formatting, renames, or drive-by fixes.
+- [ ] I reviewed every line of this diff myself and can explain it.