]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add GitHub issue and pull request templates
authorGeoff Kimball <geoff@zurb.com>
Mon, 29 Feb 2016 19:18:22 +0000 (11:18 -0800)
committerGeoff Kimball <geoff@zurb.com>
Mon, 29 Feb 2016 19:18:36 +0000 (11:18 -0800)
.github/ISSUE_TEMPLATE.md [new file with mode: 0644]
.github/PULL_REQUEST_TEMPLATE.md [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
new file mode 100644 (file)
index 0000000..23d9a2a
--- /dev/null
@@ -0,0 +1,15 @@
+<!-- Please only file bugs with Foundation on GitHub. If you've got a more general question about how to use Foundation, we can help you on the Foundation Forum: http://foundation.zurb.com/forum -->
+
+**How can we reproduce this bug?**
+
+1. Step one
+2. Step two
+3. Step three
+
+**What did you expect to happen?**
+
+**What happened instead?**
+
+**Test case:**
+
+Give us a link to a [CodePen](http://codepen.io/gakimball/pen/jqEMYp) or [JSFiddle](http://jsfiddle.net) that recreates the issue.
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644 (file)
index 0000000..3f4f466
--- /dev/null
@@ -0,0 +1,9 @@
+Before submitting a pull request, make sure it's targeting the right branch:
+
+- For documentation fixes, use `master`.
+- For bug fixes, use `develop`.
+- For new features, use the branch for the next minor version, which will be formatted `v6.x`.
+
+If you're fixing a JavaScript issue, it would help to create a new test case under the folder `test/visual/` that recreates the issue and show's that it's been fixed. Run `npm test` to compile the testing folder.
+
+Happy coding! :)