Skip to content

Commit

Permalink
Adopt new GitHub Issues Forms syntax (#5554)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed May 30, 2022
1 parent 378dc41 commit c19ba58
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
@@ -0,0 +1,39 @@
name: Bug Report
description: Something isn't working as expected
labels: [bug]
body:
- type: textarea
attributes:
label: Description
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: What you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Actual behavior
description: What actually happened.
validations:
required: false
- type: textarea
attributes:
label: Steps to reproduce
placeholder: |
1. ...
2. ...
validations:
required: false
- type: input
attributes:
label: Swift Package Manager version/commit hash
validations:
required: false
- type: textarea
attributes:
label: Swift & OS version (output of `swift --version && uname -a`)
validations:
required: false
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
@@ -0,0 +1,39 @@
name: Feature Request
description: A suggestion for a new feature
labels: [enhancement]
body:
- type: textarea
attributes:
label: Description
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: What you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Actual behavior
description: What actually happened.
validations:
required: false
- type: textarea
attributes:
label: Steps to reproduce
placeholder: |
1. ...
2. ...
validations:
required: false
- type: input
attributes:
label: Swift Package Manager version/commit hash
validations:
required: false
- type: textarea
attributes:
label: Swift & OS version (output of `swift --version && uname -a`)
validations:
required: false

1 comment on commit c19ba58

@unnamedd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is definitely a nice thing to have in the repository! Congrats guys!

Please sign in to comment.