Feat: Add issues and pull requests templates (#1560)

* feat: add issues template

* feat: add pr template
This commit is contained in:
AhmedGrati 2023-02-09 01:49:27 +01:00 committed by GitHub
parent 6a31ce3272
commit 37b503846c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 104 additions and 0 deletions

57
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@ -0,0 +1,57 @@
name: Bug
description: File a bug/issue
title: "[BUG] <title>"
labels: ["kind/bug"]
body:
- type: markdown
attributes:
value: "## Thank you for contributing to our Kompose!"
- type: textarea
attributes:
label: Expected Behavior
description: |
Briefly describe what is the desired behavior.
validations:
required: true
- type: textarea
attributes:
label: Actual Behavior
description: |
Briefly describe what is the actual behavior.
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error or unexpected result...
validations:
required: false
- type: textarea
attributes:
label: Kompose Version
description: |
Paste output of `kompose version`.
render: Text
validations:
required: true
- type: textarea
attributes:
label: Docker-Compose file
description: Paste output of the `docker-compose.yaml` that you are using.
render: YAML
validations:
required: false
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Kubernetes Community Slack
url: https://kubernetes.slack.com
about: "Use the #kompose channel"

22
.github/ISSUE_TEMPLATE/enhancement.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Enhancement Tracking Issue
description: Provide supporting details for a feature in development
labels: kind/feature
body:
- type: markdown
attributes:
value: "## Thank you for contributing to our Kompose!"
- type: textarea
id: feature
attributes:
label: What would you like to be added?
description: |
Describe what feature/enhancement that you want to be added to Kompose.
validations:
required: true
- type: textarea
id: rationale
attributes:
label: Why is this needed?
validations:
required: true

20
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,20 @@
#### What type of PR is this?
<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->
#### What this PR does / why we need it:
#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #
#### Special notes for your reviewer: