Skip to content

Commit

Permalink
Add templates for PR and issues (#533)
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Sauter <46172817+sauterp@users.noreply.github.com>
  • Loading branch information
jessicatoscani and sauterp authored Aug 28, 2023
1 parent 2f6aaa8 commit ae12a40
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
attributes:
label: Current Behavior
description: A concise description of what you're experiencing.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
1. With this config...
1. Run '...'
1. See error...
validations:
required: false
- type: input
id: cli_version
attributes:
label: CLI Version
description: What version of the CLI are you running?
validations:
required: true
- type: input
id: os_platform
attributes:
label: Os platform
description: What version of OS are you using?
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
blank_issues_enabled: false
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Feature Request
description: File a feature request
title: "[Feature Request]: "
labels: ["feature request"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request!
- type: textarea
id: what-feature
attributes:
label: What feature would you like to have in the cli?
description: Also tell us, what would you expect to happen?
placeholder: Tell us what you want!
validations:
required: true
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/other_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Other Request
description: File a request
title: "[Request]: "
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this request!
- type: textarea
id: request
attributes:
label: Your request
description: Describe your request
validations:
required: true
19 changes: 19 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Description
<!--
* Prefix: the title with the component name being changed. Add a short and self describing sentence to ease the review
* Please add a few lines providing context and describing the change
* Please self comment changes whenever applicable to help with the review process
* Please keep the checklist as part of the PR. Tick what applies to this change.
-->

## Checklist
(For exoscale contributors)

* [ ] Changelog updated (under *Unreleased* block)
* [ ] Testing

## Testing

<!--
Describe the tests you did
-->

0 comments on commit ae12a40

Please sign in to comment.