Use YAML templates for issues (#47)

This commit is contained in:
Seth Vargo 2021-11-11 14:14:37 -05:00 committed by GitHub
parent f56f5989ce
commit 6c3096cce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 72 additions and 70 deletions

View File

@ -1,33 +0,0 @@
---
name: Bug report
about: Tell us about a bug.
labels: bug
---
### TL;DR
<!-- Describe the bug in 1-2 sentences below. -->
**Expected behavior**
<!-- What did you expect to happen? Please share below. -->
**Observed behavior**
<!-- What did happened instead? Please share below. -->
### Reproduction
**Action YAML**
<!-- Add your complete GitHub Actions YAML below. -->
```yaml
# Paste your complete GitHub Actions YAML here, removing
# any sensitive values.
```
**Repository**
<!-- Is your repository public? If so, please link to it. -->
<!-- If your repository is not public, delete this section. -->
**Additional information**
<!-- Are you running custom workers? Doing something atypical? Etc? -->

43
.github/ISSUE_TEMPLATE/bug.yaml vendored Normal file
View File

@ -0,0 +1,43 @@
name: 'Bug report'
description: 'File a bug report'
labels: ['bug']
body:
- type: 'markdown'
attributes:
value: |-
Thank you for filing an bug. Please complete the form below so we can triage, reproduce, and fix your issue.
- id: 'tldr'
type: 'textarea'
attributes:
label: 'TL;DR'
description: 'Describe the bug in 1-2 sentences.'
validations:
required: true
- id: 'expected_behavior'
type: 'textarea'
attributes:
label: 'Expected behavior'
description: 'What did you expect to happen?'
- id: 'observed_behavior'
type: 'textarea'
attributes:
label: 'Observed behavior'
description: 'What happened instead?'
- id: 'action_yaml'
type: 'textarea'
attributes:
label: 'Action YAML'
description: 'Paste your complete GitHub Actions YAML here, removing any sensitive values.'
render: 'yaml'
validation:
required: true
- id: 'additional'
type: 'textarea'
attributes:
label: 'Additional information'
description: 'Is there anything else you think we should know?'

View File

@ -1,28 +0,0 @@
---
name: Feature
about: Request a new feature or functionality.
labels: feature
---
### TL;DR
<!-- Describe the feature in 1-2 sentences below. -->
### Design
**Action YAML**
<!-- What do you envision the action to look like? -->
<!-- If this is not relevant, delete this section. -->
```yaml
# Paste your proposed GitHub Actions YAML here.
```
**Resources**
<!-- Please provide links to relevant documentation or examples. -->
- [Link to documentation](TODO)
**Additional information**
<!-- Are you running custom workers? Doing something atypical? Etc? -->

29
.github/ISSUE_TEMPLATE/feature.yaml vendored Normal file
View File

@ -0,0 +1,29 @@
name: 'Feature request'
description: 'File a feature request'
labels: ['enhancement']
body:
- type: 'markdown'
attributes:
value: |-
Thank you for requesting a feature. Please complete the form below so we can triage and prioritize your feature.
- id: 'tldr'
type: 'textarea'
attributes:
label: 'TL;DR'
description: 'Describe the feature in 1-2 sentences.'
validations:
required: true
- id: 'detailed_design'
type: 'textarea'
attributes:
label: 'Detailed design'
description: 'Do you have more information about a detailed design? Are there specific considerations to take? Include sample YAML.'
render: 'markdown'
- id: 'additional'
type: 'textarea'
attributes:
label: 'Additional information'
description: 'Is there anything else you think we should know?'

View File

@ -1,9 +0,0 @@
---
name: Question
about: Ask us a question.
labels: question
---
### Question
<!-- Ask your question in 1-2 sentences below. -->
<!-- If sharing code, please use ``` codeblocks -->