From d48b8ab414fb733b6f324bd0b2a071f768fcc649 Mon Sep 17 00:00:00 2001 From: Robert Laszczak Date: Mon, 13 Jan 2025 17:48:01 +0100 Subject: [PATCH] added issue / pull request templates (#538) * added issue templates * cosmetics * added pull request template --- .github/ISSUE_TEMPLATE/1_bug_report.md | 36 ++++++++++++++++++ .github/ISSUE_TEMPLATE/2_feature_request.md | 24 ++++++++++++ .github/pull_request_template.md | 42 +++++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1_bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/2_feature_request.md create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/1_bug_report.md b/.github/ISSUE_TEMPLATE/1_bug_report.md new file mode 100644 index 00000000..46f49a8e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_bug_report.md @@ -0,0 +1,36 @@ +## Bug Report + + + +### Steps to reproduce + + + +docker-compose.yml +```yaml + +``` + +```go +// Your reproduction code goes here +``` + +### Expected behavior + + + +### Actual behavior + + + +### Possible solution + + diff --git a/.github/ISSUE_TEMPLATE/2_feature_request.md b/.github/ISSUE_TEMPLATE/2_feature_request.md new file mode 100644 index 00000000..d7787d76 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_feature_request.md @@ -0,0 +1,24 @@ +## Feature request + + + +### Description + + + +### Example use case + + + +#### How it can look like in code + +```go + +``` diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..e0ad400d --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,42 @@ + + +### Motivation / Background + + + +### Detail + + +### Alternative approaches considered (if applicable) + + + +### Checklist + +The resources of our team are limited. **There are a couple of things that you can do to help us merge your PR faster**: + +- [ ] I wrote tests for the changes. +- [ ] All tests are passing. + - If you are testing a Pub/Sub, you can start Docker with `make up`. + - You can start with `make test_short` for a quick check. + - If you want to run all tests, use `make test`. +- [ ] Code has no breaking changes. +- [ ] _(If applicable)_ documentation on [watermill.io](https://watermill.io/) is updated. + - Documentation is built in the [github.com/ThreeDotsLabs/watermill/docs](https://github.com/ThreeDotsLabs/watermill/tree/master/docs). + - You can find development instructions in the [DEVELOP.md](https://github.com/ThreeDotsLabs/watermill/tree/master/docs/DEVELOP.md). \ No newline at end of file