mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
.github: issues and pr templates and labeler workflow (#2414)
Closes #2405
This commit is contained in:
parent
52c8353169
commit
0c38ca3760
60
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
60
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
name: Bug Report
|
||||
description: Report a bug you've found.
|
||||
labels: bug
|
||||
body:
|
||||
- type: textarea
|
||||
id: version_of_this
|
||||
attributes:
|
||||
label: Ebitengine Version
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: os
|
||||
attributes:
|
||||
label: Operating System
|
||||
description: Which Operating System was the bug on?
|
||||
options:
|
||||
- Windows
|
||||
- macOS
|
||||
- Linux
|
||||
- FreeBSD
|
||||
- OpenBSD
|
||||
- Android
|
||||
- iOS
|
||||
- Nintendo Switch
|
||||
- Xbox
|
||||
- Web Browsers
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: version_of_lang
|
||||
attributes:
|
||||
label: Go Version
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: repro_steps
|
||||
attributes:
|
||||
label: What were you doing (steps to reproduce the bug)?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: actual_result
|
||||
attributes:
|
||||
label: What actually happened as a result?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected_result
|
||||
attributes:
|
||||
label: What did you expect to happen?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: stacktrace
|
||||
attributes:
|
||||
label: If you have a stack trace, please add it here.
|
||||
- type: textarea
|
||||
id: additional
|
||||
attributes:
|
||||
label: Anything else you feel useful to add?
|
16
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
Normal file
16
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: Feature Request
|
||||
description: Provide details about a feature you'd like to see.
|
||||
labels: feature
|
||||
body:
|
||||
- type: textarea
|
||||
id: what
|
||||
attributes:
|
||||
label: What feature would you like to be added?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: why
|
||||
attributes:
|
||||
label: Why is this needed?
|
||||
validations:
|
||||
required: true
|
14
.github/ISSUE_TEMPLATE/security-vulnerability.yml
vendored
Normal file
14
.github/ISSUE_TEMPLATE/security-vulnerability.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
name: Security Vulnerability
|
||||
description: Provide details about a security vulnerability.
|
||||
labels: security
|
||||
body:
|
||||
- type: textarea
|
||||
id: what
|
||||
attributes:
|
||||
label: What vulnerability have you discovered? Include any relevant details like a CVE.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: why
|
||||
attributes:
|
||||
label: What remediation steps are known, if any.
|
13
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
13
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<!--
|
||||
Thanks for sending a pull request!
|
||||
If this is your first time, please read the contributor guidelines:
|
||||
https://github.com/hajimehoshi/ebiten/blob/main/CONTRIBUTING.md
|
||||
Also please adhere to our Code of Conduct:
|
||||
https://github.com/hajimehoshi/ebiten/blob/main/CODE_OF_CONDUCT.md
|
||||
-->
|
||||
# What issue is this addressing?
|
||||
<!-- Closes #<issue number> -->
|
||||
## What _type_ of issue is this addressing?
|
||||
<!-- bug | feature | security -->
|
||||
## What this PR does | solves
|
||||
<!-- Please be as descriptive as possible -->
|
15
.github/workflows/issue-labeler.yml
vendored
Normal file
15
.github/workflows/issue-labeler.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: "Issue Labeler"
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: github/issue-labeler@6ca237433dbbb8e475241b7f38f4600d9e296c57 # v2.5
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: .github/workflows/issue-labeler/config.yml
|
||||
not-before: "2022-10-27T17:00:00+11:00"
|
||||
enable-versioned-regex: 0
|
20
.github/workflows/issue-labeler/config.yml
vendored
Normal file
20
.github/workflows/issue-labeler/config.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
os:windows:
|
||||
- '\n### Operating System\n\nWindows\n'
|
||||
os:macos:
|
||||
- '\n### Operating System\n\nmacOS\n'
|
||||
os:linux:
|
||||
- '\n### Operating System\n\nLinux\n'
|
||||
os:freebsd:
|
||||
- '\n### Operating System\n\nFreeBSD\n'
|
||||
os:openbsd:
|
||||
- '\n### Operating System\n\nOpenBSD\n'
|
||||
os:android:
|
||||
- '\n### Operating System\n\nAndroid\n'
|
||||
os:ios:
|
||||
- '\n### Operating System\n\niOS\n'
|
||||
os:nintendoswitch:
|
||||
- '\n### Operating System\n\nNintendo Switch\n'
|
||||
os:xbox:
|
||||
- '\n### Operating System\n\nXbox\n'
|
||||
os:js:
|
||||
- '\n### Operating System\n\nWeb Browsers\n'
|
Loading…
Reference in New Issue
Block a user