Add issue templates & CI

Dieser Commit ist enthalten in:
Chaoscaot 2022-10-06 20:37:11 +02:00
Ursprung 946b2a9147
Commit 7bb99f9206
4 geänderte Dateien mit 145 neuen und 0 gelöschten Zeilen

67
.github/ISSUE_TEMPLATE/bug.yml vendored Normale Datei
Datei anzeigen

@ -0,0 +1,67 @@
name: Bug Report
description: Report a Bug with the AltAuth Software
title: "[BUG] <title>"
labels: [bug]
body:
- type: dropdown
validations:
required: true
id: platform
attributes:
label: Platform
description: What platform are you using?
options:
- BungeeCord/Waterfall
- Spigot/Paper
- Fabric (Server/Client)
- Proxy
- Other (Self implemented)
- type: textarea
validations:
required: true
id: description
attributes:
label: Description
description: Describe the bug you are experiencing.
placeholder: "AltAuth is not working on my server."
- type: textarea
id: stacktrace
attributes:
label: "Stacktrace [Optional]"
description: "If there is a stacktrace, please paste it here."
placeholder: |
"```"
"Paste the stacktrace here. DO NOT REMOVE THE BACKTICKS!"
"```"
- type: textarea
validations:
required: true
id: steps
attributes:
label: Steps to Reproduce
description: "What steps did you take to cause this bug?"
placeholder: "1. Install AltAuth on my server."
- type: textarea
validations:
required: true
id: expected
attributes:
label: "Expected Behavior"
description: "What did you expect to happen?"
placeholder: "AltAuth should work on my server."
- type: textarea
id: context
attributes:
label: "Other"
description: "Please provide any other information that may be helpful."
- type: checkboxes
id: terms
attributes:
label: "Terms and Conditions"
description: "By submitting this issue, you agree to the following terms and conditions."
options:
- label: "I'm using the latest version of AltAuth."
required: true
- label: "This issue is not a duplicate."
required: true

1
.github/ISSUE_TEMPLATE/config.yml vendored Normale Datei
Datei anzeigen

@ -0,0 +1 @@
blank_issues_enabled: false

45
.github/ISSUE_TEMPLATE/feature.yml vendored Normale Datei
Datei anzeigen

@ -0,0 +1,45 @@
name: Feature Request
description: Request a Feature for the AltAuth Software
title: "[FEATURE] <title>"
labels: [enhancement]
body:
- type: textarea
validations:
required: true
id: description
attributes:
label: Description
description: Describe the feature you are requesting.
placeholder: "I would like to see AltAuth support <feature>."
- type: textarea
validations:
required: true
id: reason
attributes:
label: "Why do you want this feature?"
description: "Tell us why you want this feature."
- type: textarea
validations:
required: true
id: alternatives
attributes:
label: "Alternatives"
description: "Are there any alternatives you have considered?"
- type: textarea
id: context
attributes:
label: "Other"
description: "Please provide any other information that may be helpful."
- type: checkboxes
id: terms
attributes:
label: "Terms"
description: "Please read and agree to the terms below."
options:
- label: "I'm using the latest version of AltAuth."
required: true
- label: "I really need this feature and can't use the alternative."
required: true
- label: "This issue is not a duplicate."
required: true

32
.github/workflows/build.yml vendored Normale Datei
Datei anzeigen

@ -0,0 +1,32 @@
name: Build
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Build AltAuth and Upload
steps:
- uses: actions/checkout@v2
- name: Setup Java JDK
uses: actions/setup-java@v3.5.1
with:
java-version: 17
check-latest: true
cache: 'gradle'
- name: Build AltAuth
run: ./gradlew build
- name: Upload AltAuth
if: ${{github.event_name == 'push' || github.event_name == 'workflow_dispatch'}}
uses: actions/upload-artifact@v2
with:
name: AltAuth
path: build/libs/AltAuth-*-all.jar