Skip to content

Commit

Permalink
Update issue template to use new workflow model (#2248)
Browse files Browse the repository at this point in the history
* Update issue template to use new workflow model

* Nuke old issue template

* Convert bug report template to form

* Add issue template config with support links
  • Loading branch information
psychonic authored Jan 19, 2025
1 parent 24679be commit 755fa4d
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

116 changes: 116 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
name: Bug Report
description: Create a report to help us improve
title: "[Bug]: "
labels: ["Bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! Please make sure you provide all the requested information to help us address the issue efficiently.
- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
description: Please confirm these before submitting your issue
options:
- label: I have checked that my issue doesn't exist yet in the [issue tracker](https://github.com/alliedmodders/sourcemod/issues)
required: true
- label: I have provided the smallest possible test-case to reproduce the issue
required: false
- label: I can consistently reproduce this issue with the provided description
required: false

- type: input
id: os-version
attributes:
label: Operating System Version
description: What operating system and version are you using?
placeholder: "e.g., Windows 10 21H2, Ubuntu 22.04"
validations:
required: true

- type: input
id: game-version
attributes:
label: Game/AppID and Version
description: Which game and version are you using?
placeholder: "e.g., CS:GO (730) version 1.38.2.5"
validations:
required: true

- type: input
id: sourcemod-version
attributes:
label: SourceMod Version
description: On which version of SourceMod did you first observe this?
placeholder: "e.g., 1.11.0.6936"
validations:
required: true

- type: input
id: metamod-version
attributes:
label: Metamod:Source Version
description: On which version of Metamod:Source did you first observe this?
placeholder: "e.g., 1.11.0-git1145"

- type: checkboxes
id: version-checks
attributes:
label: Version Verification
description: Please confirm you've tested with the latest versions
options:
- label: I have updated SourceMod to the [latest version](https://www.sourcemod.net/downloads.php) and the issue persists
- label: I have updated SourceMod to the [latest snapshot](https://www.sourcemod.net/downloads.php?branch=dev) and the issue persists
- label: I have updated Metamod:Source to the [latest snapshot](https://sourcemm.net/downloads.php?branch=dev) and the issue persists

- type: input
id: sourcemod-version-latest
attributes:
label: Updated SourceMod Version
description: If you updated SourceMod to the latest version to confirm the issue persisted, which version was that?
placeholder: "e.g., 1.11.0.6936"

- type: input
id: metamod-version-latest
attributes:
label: Updated Metamod:Source Version
description: If you updated Metamod:Source to the latest version to confirm the issue persisted, which version was that?
placeholder: "e.g., 1.11.0-git1145"

- type: textarea
id: description
attributes:
label: Description
description: Please provide a clear and concise description of the bug
placeholder: What happened? What did you expect to happen?
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
description: Please provide the code or steps needed to reproduce the issue
placeholder: |
1. First step...
2. Second step...
3. ...
```sourcepawn
// Add your code here if applicable
```
- type: textarea
id: logs
attributes:
label: Relevant Log Output
description: |
Please provide any relevant log output. This will be automatically formatted into code, so no need for backticks.
Include:
- Game output
- Library logs
- Kernel logs
- Minidump or dump analyze output (in case of crashes)
render: shell
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: AlliedModders Discord
url: https://discord.gg/HUc67zN
about: General support or assistance
- name: AlliedModders Forums
url: https://forums.alliedmods.net
about: General support or assistance
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: Feature Request
assignees: ''

---

## Help us help you
- [ ] I have checked that my issue [doesn't exist yet](https://github.com/alliedmodders/sourcemod/issues).

## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

## Describe the solution you'd like
A clear and concise description of what you want to happen.

## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

## Additional context
Add any other context or screenshots about the feature request here.

0 comments on commit 755fa4d

Please sign in to comment.