From 78031794caf988d9946ee7c747100f7fc42b0b52 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Thu, 22 Sep 2022 11:54:08 -0700 Subject: [PATCH] Add: add .github issue and PR template --- .github/issue_template.md | 28 ++++++++++++++++++++++++++++ .github/pull_request_template.md | 25 +++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 .github/issue_template.md create mode 100644 .github/pull_request_template.md diff --git a/.github/issue_template.md b/.github/issue_template.md new file mode 100644 index 0000000..72812fe --- /dev/null +++ b/.github/issue_template.md @@ -0,0 +1,28 @@ +1. Please **speak English (English only)**, this is the language everybody of us can speak and write. +2. Please take a moment to **search** that an issue **doesn't already exist**. +3. Please make sure `Golang, GCC` is installed correctly before installing Gohook. + +5. Please give all relevant information below for bug reports, incomplete details will be handled as an invalid report. + +**You MUST delete the content above including this line before posting, otherwise your issue will be invalid.** + + +- Gohook version (or commit ref): +- Go version: +- Gcc version: +- Operating system and bit: +- Resolution: +- Can you reproduce the bug at [Examples](https://github.com/robotn/gohook/blob/master/examples/main.go): + - [ ] Yes (provide example code) + - [ ] No + - [ ] Not relevant +- Provide example code: + +```Go + +``` +- Log gist: + +## Description + +... diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..264f0aa --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,25 @@ +The pull request will be closed without any reasons if it does not satisfy any of following requirements: + +1. Make sure you are targeting the `master` branch, pull requests on release branches are only allowed for bug fixes. +2. Add new features, please provide the reasons and test code. +3. Please read contributing guidelines: [CONTRIBUTING](https://github.com/robotn/gohook/blob/master/CONTRIBUTING.md) +4. Describe what your pull request does and which issue you're targeting (if any and **Please use English**) +5. ... if it is not related to any particular issues, explain why we should not reject your pull request. +6. The Commits must **use English**, must be test and No useless submissions. + +**You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.** + + +**Please provide Issues links to:** + +- Issues: #1 + +**Provide test code:** + +```Go + +``` + +## Description + +...