Skip to content

Commit

Permalink
Change issue template from markdown to issue form
Browse files Browse the repository at this point in the history
Signed-off-by: Jin Dong <[email protected]>
  • Loading branch information
djdongjin committed Feb 27, 2023
1 parent e193fe8 commit abfd484
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 52 deletions.
29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Bug report
description: Create a bug report to help improve soci-snapshotter
title: "[Bug] "
labels: ["bug"]
body:
- type: textarea
attributes:
label: Description
description: |
Briefly describe the problem/bug you are having.
validations:
required: true

- type: textarea
attributes:
label: Steps to reproduce the bug

- type: textarea
attributes:
label: Describe the results you expected
validations:
required: true

- type: textarea
attributes:
label: Host information
value: |
1. OS:
2. Snapshotter Version:
3. Containerd Version:
validations:
required: true

- type: textarea
attributes:
label: Any additional context or information about the bug
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
blank_issues_enabled: true
contact_links:
- name: Ask a question (GitHub Discussions)
url: https://github.com/awslabs/soci-snapshotter/discussions
about: |
In most cases, GitHub Discussions is the preferred place to ask a question,
and visible to more users. If you encountered a bug or request a feature,
please use the issue template. Otherwise, please consider asking in GitHub
Discussions first.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Feature request
description: Suggest an idea or new feature for this project
title: "[FEATURE] "
labels: ["feature"]
body:
- type: textarea
attributes:
label: Description
description: |
Briefly describe the feature request and, if related to a problem, what the problem is.
validations:
required: true

- type: textarea
attributes:
label: Describe the solution you'd like

- type: textarea
attributes:
label: Describe any alternative solutions/features you've considered

- type: textarea
attributes:
label: Any additional context or information about the feature request
6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
*Issue #, if available:*
**Issue #, if available:**

*Description of changes:*
**Description of changes:**

*Testing performed:*
**Testing performed:**

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

0 comments on commit abfd484

Please sign in to comment.