Skip to content

Commit

Permalink
Updated issue forms (#2454)
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite authored Oct 1, 2023
1 parent a95fc6d commit 1adc0ab
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug report
about: Report errors or unexpected behaviour
about: Report errors or unexpected behavior
labels: 'bug', 'Needs: Triage :mag:'
---

Expand Down Expand Up @@ -31,7 +31,7 @@ Steps to reproduce the issue:
**Module in use and version:**

- Module: PSRule.Rules.Azure
- Version: **[e.g. 1.24.0]**
- Version: **[e.g. 1.29.0]**

Captured output from `$PSVersionTable`:

Expand Down
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Bug report
description: Report errors or unexpected behavior
title: '[BUG] <title>'
labels: ['bug', 'Needs: Triage :mag:']
body:
- type: input
id: name
attributes:
label: Existing rule
description: If this relates to an existing rule include the name of the rule.
placeholder: Azure.
validations:
required: false
- type: textarea
attributes:
label: Description of the issue
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: Error messages
description: If an error message is generated by the output please provide it here.
validations:
required: false
- type: textarea
attributes:
label: Reproduction
description: |
How can we reproduce the issue.
Please provide examples of the input or pipelines you are using that are failing.
For example, if expansion is failing please provide a Bicep example that demonstrates the issue so we can reproduce the issue.
validations:
required: true
- type: input
id: psrule
attributes:
label: Version of PSRule
description: Please provide the version of PSRule you are using.
value: '2.9.0'
validations:
required: false
- type: input
id: version
attributes:
label: Version of PSRule for Azure
description: Please provide the module version of PSRule for Azure you are using.
placeholder: '1.x.x'
validations:
required: false
- type: textarea
attributes:
label: Additional context
description: |
Any additional context relating to the issue.
validations:
required: false
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Feature request
description: Suggest an idea
title: '[FEATURE] <title>'
labels: ['enhancement', 'Needs: Triage :mag:']
body:
- type: textarea
attributes:
label: Your suggestion
description: A clear and concise description of the solution or improvement you would like.
validations:
required: true
- type: textarea
attributes:
label: Alternatives
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false

0 comments on commit 1adc0ab

Please sign in to comment.