Skip to content

Commit

Permalink
Update issue templates (FerretDB#1671)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry authored Dec 22, 2022
1 parent fc7c64a commit 33535b0
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,26 @@ body:
description: Include FerretDB logs if possible.
validations:
required: true
- type: textarea
attributes:
label: Environment
description: |
examples:
- **OS**: Ubuntu 20.04
- **Architecture**: x86_64
- **Version**: v0.7.0
- **Go version**: 1.19.3
- **Git version**: 2.37.1
- **Deployment**: Docker
- **Deployment details**: Docker version 20.10.8 Compose version 1.29.2
value: |
- OS:
- Architecture:
- Version:
- Go:
- Git:
- Deployment:
- Deployment details:
render: markdown
validations:
required: false
17 changes: 15 additions & 2 deletions .github/ISSUE_TEMPLATE/chore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,23 @@ body:
id: what
attributes:
label: What should be done?
validations:
required: true
description: Additional context you would like to provide.
- type: textarea
id: where
attributes:
label: Where?
description: Include a permalink if possible.
- type: textarea
id: dod
attributes:
label: Definition of Done
description: What should be done to consider this issue done?
value: |
- [ ] unit tests added
- [ ] integration tests added
- [ ] compatibility tests added
- [ ] spot refactoring done
- [ ] documentation updated
- [ ] anything else?
validations:
required: true
6 changes: 5 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ Closes #{issue_number}.
please follow CONTRIBUTING.md.
-->

* [ ] I added tests for new functionality or bugfixes.
* [ ] I added unit tests for new functionality or bugfixes.
* [ ] I added integration tests for new functionality or bugfixes.
* [ ] I added compatibility tests for new functionality or bugfixes.
* [ ] I made spot refactoring.
* [ ] I updated the documentation.
* [ ] I ran `task all`, and it passed.
* [ ] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
* [ ] I checked comments rendering with `task godocs`.
Expand Down

0 comments on commit 33535b0

Please sign in to comment.