Added bug report issue template
This commit is contained in:
parent
139508b78c
commit
da1fd5f351
3 changed files with 71 additions and 98 deletions
71
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
71
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
name: Bug/Crash Report
|
||||||
|
description: Report a bug or crash with Vendroid.
|
||||||
|
labels: [bug]
|
||||||
|
title: "[Bug] <title>"
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
# READ THIS BEFORE OPENING AN ISSUE
|
||||||
|
|
||||||
|
ONLY OPEN AN ISSUE IF:
|
||||||
|
* You are using an up-to-date version of VendroidEnhanced
|
||||||
|
* You **did not** edit the Vencord location in app settings
|
||||||
|
* You are using Discord Stable, not PTB or Canary.
|
||||||
|
* You could not reproduce the issue on:
|
||||||
|
* Vencord Web, Vesktop, or ArmCord, on a computer
|
||||||
|
* The Discord mobile website (`discord.com/app`) on a mobile browser WITHOUT VENCORD
|
||||||
|
|
||||||
|
**Your issue will get closed and you will possibly be blocked from the repository if you cannot read this!**
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: discord
|
||||||
|
attributes:
|
||||||
|
label: Discord account
|
||||||
|
description: Who on Discord is making this request? Not required but encouraged for easier follow-up.
|
||||||
|
placeholder: username
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: bug-description
|
||||||
|
attributes:
|
||||||
|
label: What happens when the bug or crash occurs?
|
||||||
|
description: Where does this bug or crash occur, when does it occur, etc.
|
||||||
|
placeholder: The bug/crash happens sometimes when I do ..., causing this to not work/the app to crash. I think it happens because of ...
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: expected-behaviour
|
||||||
|
attributes:
|
||||||
|
label: What is the expected behaviour?
|
||||||
|
description: Simply detail what the expected behaviour is.
|
||||||
|
placeholder: I expect Vendroid/Discord to open the ... page instead of ..., it prevents me from doing ...
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: steps-to-take
|
||||||
|
attributes:
|
||||||
|
label: How do you recreate this bug or crash?
|
||||||
|
description: Give us a list of steps in order to recreate the bug or crash.
|
||||||
|
placeholder: |
|
||||||
|
1. Do ...
|
||||||
|
2. Then ...
|
||||||
|
3. Do this ..., ... and then ...
|
||||||
|
4. Observe "the bug" or "the crash"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
id: agreement-check
|
||||||
|
attributes:
|
||||||
|
label: Request agreement
|
||||||
|
description: We only accept reports for bugs that happen on Discord Stable. Canary and PTB are Development branches and may be unstable.
|
||||||
|
options:
|
||||||
|
- label: I am using Discord Stable or tried on Stable and this bug happens there as well
|
||||||
|
required: true
|
||||||
|
- label: I have read the requirements for opening an issue above
|
||||||
|
required: true
|
47
.github/workflows/build-artifacts.yml
vendored
47
.github/workflows/build-artifacts.yml
vendored
|
@ -1,47 +0,0 @@
|
||||||
name: Release
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
branches: main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout builds
|
|
||||||
uses: actions/checkout@main
|
|
||||||
|
|
||||||
- name: Setup JDK 11
|
|
||||||
uses: actions/setup-java@main
|
|
||||||
with:
|
|
||||||
java-version: 11
|
|
||||||
distribution: adopt
|
|
||||||
|
|
||||||
- name: Setup Android SDK
|
|
||||||
uses: android-actions/setup-android@7c5672355aaa8fde5f97a91aa9a99616d1ace6bc # v2.0.10
|
|
||||||
|
|
||||||
- name: Setup credentials
|
|
||||||
run: |
|
|
||||||
base64 -d <<< "$KEYSTORE_BASE64" > $HOME/keystore.jks
|
|
||||||
env:
|
|
||||||
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
|
|
||||||
|
|
||||||
- name: Build Artifact
|
|
||||||
run: |
|
|
||||||
chmod +x ./gradlew
|
|
||||||
./gradlew app:assembleRelease \
|
|
||||||
-Pandroid.injected.signing.store.file="$HOME/keystore.jks" \
|
|
||||||
-Pandroid.injected.signing.store.password="$KEYSTORE_PASSWORD" \
|
|
||||||
-Pandroid.injected.signing.key.alias="$KEY_ALIAS" \
|
|
||||||
-Pandroid.injected.signing.key.password="$KEY_PASSWORD"
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
KEY_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}
|
|
||||||
KEY_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
|
||||||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@main
|
|
||||||
with:
|
|
||||||
name: VencordDev
|
|
||||||
path: app/build/outputs/apk/release/app-release.apk
|
|
51
.github/workflows/release.yml
vendored
51
.github/workflows/release.yml
vendored
|
@ -1,51 +0,0 @@
|
||||||
name: Release
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout builds
|
|
||||||
uses: actions/checkout@main
|
|
||||||
|
|
||||||
- name: Setup JDK 11
|
|
||||||
uses: actions/setup-java@main
|
|
||||||
with:
|
|
||||||
java-version: 11
|
|
||||||
distribution: adopt
|
|
||||||
|
|
||||||
- name: Setup Android SDK
|
|
||||||
uses: android-actions/setup-android@7c5672355aaa8fde5f97a91aa9a99616d1ace6bc # v2.0.10
|
|
||||||
|
|
||||||
- name: Setup credentials
|
|
||||||
run: |
|
|
||||||
base64 -d <<< "$KEYSTORE_BASE64" > $HOME/keystore.jks
|
|
||||||
env:
|
|
||||||
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
|
|
||||||
|
|
||||||
- name: Get some values needed for the release
|
|
||||||
id: release_values
|
|
||||||
run: |
|
|
||||||
echo "release_tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Build Release
|
|
||||||
run: |
|
|
||||||
chmod +x ./gradlew
|
|
||||||
./gradlew app:assembleRelease \
|
|
||||||
-Pandroid.injected.signing.store.file="$HOME/keystore.jks" \
|
|
||||||
-Pandroid.injected.signing.store.password="$KEYSTORE_PASSWORD" \
|
|
||||||
-Pandroid.injected.signing.key.alias="$KEY_ALIAS" \
|
|
||||||
-Pandroid.injected.signing.key.password="$KEY_PASSWORD"
|
|
||||||
|
|
||||||
mv app/build/outputs/apk/release/app-release.apk Vencord-$TAG.apk
|
|
||||||
gh release create $TAG --generate-notes --title "Vencord $TAG" Vencord-$TAG.apk
|
|
||||||
env:
|
|
||||||
TAG: ${{ env.release_tag }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
KEY_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}
|
|
||||||
KEY_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
|
||||||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
|
Loading…
Add table
Add a link
Reference in a new issue