From dadf4dc00ed3d55ca1fdd6251341b13c8997cda7 Mon Sep 17 00:00:00 2001
From: auth <64337177+authorisation@users.noreply.github.com>
Date: Tue, 30 May 2023 19:46:26 +0200
Subject: [PATCH] add: issue template
---
.github/ISSUE_TEMPLATE/bug_report.yml | 64 +++++++++++++++++++++++++++
.github/ISSUE_TEMPLATE/config.yml | 1 +
.github/workflows/android.yml | 1 +
3 files changed, 66 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml
create mode 100644 .github/ISSUE_TEMPLATE/config.yml
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 00000000..fa678382
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,64 @@
+name: "Bug report"
+description: Report an issue to help the project improve.
+title: "bug: -
"
+labels: [
+ "bug"
+]
+body:
+ - type: textarea
+ id: description
+ attributes:
+ label: "Description"
+ description: Please enter an explicit description of your issue
+ placeholder: Short and explicit description of your incident...
+ validations:
+ required: true
+ - type: textarea
+ id: reprod
+ attributes:
+ label: "Reproduction steps"
+ description: Steps to reproduce the behavior
+ value: |
+ 1. Go to '...'
+ 2. Click on '....'
+ 3. Scroll down to '....'
+ 4. See error
+ render: bash
+ validations:
+ required: true
+ - type: textarea
+ id: screenshot
+ attributes:
+ label: "Screenshots"
+ description: If applicable, add screenshots to help explain your problem
+ value: |
+ 
+ render: bash
+ validations:
+ required: false
+ - type: textarea
+ id: logs
+ attributes:
+ label: "Logs"
+ description: Please copy and paste any relevant log output if available
+ render: bash
+ validations:
+ required: false
+ - type: input
+ id: snapchat-version
+ attributes:
+ label: "Snapchat Version"
+ description: On which Snapchat version is this happening?
+ placeholder: ex. 12.35.0.45
+ validations:
+ required: true
+ - type: checkboxes
+ id: terms
+ attributes:
+ label: Agreement
+ description: By creating this issue I made sure that ...
+ options:
+ - label: I am using the latest stable SnapEnhance version.
+ required: true
+ - label: There is no issue already describing my problem.
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 00000000..3ba13e0c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1 @@
+blank_issues_enabled: false
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 4e1a48de..138b1927 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -4,6 +4,7 @@ on:
branches: [ "main" ]
paths-ignore:
- '**/README.md'
+ - '.github/**'
pull_request:
branches: [ "main" ]
jobs: