Skip to content

Commit

Permalink
Merge pull request #651 from rgoldberg/650-issue-forms
Browse files Browse the repository at this point in the history
Use GitHub YAML issue forms instead of GitHub Markdown issue templates
  • Loading branch information
rgoldberg authored Nov 21, 2024
2 parents f60a7b3 + a059d80 commit 5a198f7
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 76 deletions.
96 changes: 96 additions & 0 deletions .github/ISSUE_TEMPLATE/01-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
name: Bug Report
description: Report a bug.
labels: "\U0001F41B bug"
body:
- type: input
id: mas-version
attributes:
label: mas version
description: The output of `mas version`
placeholder: ex. 1.8.7
validations:
required: true
- type: input
id: macos-version
attributes:
label: macOS version
description: The output of `sw_vers -productVersion`
placeholder: ex. 15.1.1
validations:
required: true
- type: input
id: macos-build
attributes:
label: macOS build version
description: The output of `sw_vers -buildVersion`
placeholder: ex. 24B2091
validations:
required: true
- type: dropdown
id: install-method
attributes:
label: mas installation method
options:
- Homebrew core (brew install mas)
- Homebrew custom tap (brew install mas-cli/tap/mas)
- GitHub Releases (https://github.com/mas-cli/mas/releases)
- Built from source
- Other
default: 0
validations:
required: true
- type: textarea
id: install-details
attributes:
label: mas installation details
# yamllint disable rule:trailing-spaces
value: |
<!--if you selected the "Other" installation method, provide details below-->
<!--if you installed from GitHub Releases, provide URL of installer below-->
<!--if you built from source, uncomment the following comment & provide all 4 values-->
<!--
- git origin URL:
- git revision:
- git tag/branch:
- Xcode version:
-->
# yamllint enable rule:trailing-spaces
validations:
required: false
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
placeholder: Prefer copied & pasted commands & output instead of screenshots
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
placeholder: Prefer copied & pasted commands & output instead of screenshots
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to reproduce
description: |
Provide commands to reproduce the bug in the multiline shell block. Write non-shell steps as comments (`# …`).
value: |
```shell
```
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
placeholder: ex. Does the bug occur in other mas or macOS versions?
validations:
required: false
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/02-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Feature request
description: Request a feature.
labels: "\U0001F195 feature request"
body:
- type: textarea
id: problems
attributes:
label: Problem(s) addressed
placeholder: Prefer copied & pasted commands & output instead of screenshots
validations:
required: true
- type: textarea
id: proposals
attributes:
label: Proposed solution(s)
placeholder: Prefer copied & pasted commands & output instead of screenshots
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternative solution(s)
placeholder: Prefer copied & pasted commands & output instead of screenshots
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional context
placeholder: Prefer copied & pasted commands & output instead of screenshots
validations:
required: false
58 changes: 0 additions & 58 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

0 comments on commit 5a198f7

Please sign in to comment.