Skip to content

Portable Tool for an Ideal Windows Setup

upd. issue templates and added auto-prefix workflow

Greedeks85d5675792cb
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml
new file mode 100644
index 00000000..84944857
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yaml
@@ -0,0 +1,17 @@
+name: "🐞 Bug Report"
+description: "Report a bug"
+title: "[BUG] "
+labels:
+ - bug
+assignees:
+ - Greedeks
+
+body:
+ - type: textarea
+ id: description
+ attributes:
+ label: "Description"
+ description: "Briefly describe the problem and how to reproduce it."
+ placeholder: "What went wrong?"
+ validations:
+ required: true
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yaml b/.github/ISSUE_TEMPLATE/feature-request.yaml
new file mode 100644
index 00000000..87cff88f
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature-request.yaml
@@ -0,0 +1,17 @@
+name: "✨ Feature Request"
+description: "Suggest a new idea or improvement"
+title: "[IDEA] "
+labels:
+ - enhancement
+assignees:
+ - Greedeks
+
+body:
+ - type: textarea
+ id: description
+ attributes:
+ label: "Description"
+ description: "Briefly describe your idea and why it would be useful."
+ placeholder: "I suggest adding..."
+ validations:
+ required: true
\ No newline at end of file
diff --git "a/.github/ISSUE_TEMPLATE/\342\234\250-feature-request-.yaml" "b/.github/ISSUE_TEMPLATE/\342\234\250-feature-request-.yaml"
deleted file mode 100644
index c20db950..00000000
--- "a/.github/ISSUE_TEMPLATE/\342\234\250-feature-request-.yaml"
+++ /dev/null
@@ -1,18 +0,0 @@
-name: "✨ Feature Request"
-description: "Suggest an idea for this project"
-title: "[Feature Request] Title"
-labels:
- - enhancement
- - experience using
-assignees:
- - Greedeks
-
-body:
- - type: textarea
- id: description
- attributes:
- label: "πŸ“ Description"
- description: "Provide a detailed description of the feature. Describe what the feature should do, how it is expected to work, and include any relevant background or context that explains its importance."
- placeholder: "Describe your feature request in detail..."
- validations:
- required: true
diff --git "a/.github/ISSUE_TEMPLATE/\342\235\223-questions-and-answers.yaml" "b/.github/ISSUE_TEMPLATE/\342\235\223-questions-and-answers.yaml"
deleted file mode 100644
index 1946c4ac..00000000
--- "a/.github/ISSUE_TEMPLATE/\342\235\223-questions-and-answers.yaml"
+++ /dev/null
@@ -1,18 +0,0 @@
-name: "❓ Questions and Answers"
-description: "Frequently Asked Questions"
-title: "[Question] Title"
-labels:
- - documentation
- - question
-assignees:
- - Greedeks
-
-body:
- - type: textarea
- id: question
- attributes:
- label: "❓ Your Question"
- description: "Ask your question here. Provide as much detail as possible to get a clear and helpful answer."
- placeholder: "Write your question..."
- validations:
- required: true
diff --git "a/.github/ISSUE_TEMPLATE/\360\237\220\236-bug-report.yaml" "b/.github/ISSUE_TEMPLATE/\360\237\220\236-bug-report.yaml"
deleted file mode 100644
index 201a052f..00000000
--- "a/.github/ISSUE_TEMPLATE/\360\237\220\236-bug-report.yaml"
+++ /dev/null
@@ -1,19 +0,0 @@
-name: "🐞 Bug Report"
-description: "Description of the error or the problem with the utility"
-title: "[BUG] Title"
-labels:
- - bug
- - help wanted
- - wontfix
-assignees:
- - Greedeks
-
-body:
- - type: textarea
- id: problem_description
- attributes:
- label: "🚨 Problem Description"
- description: "Describe the nature of your problem. Or the conditions of its occurrence and attach screenshots or error logs if possible."
- placeholder: "Explain the issue in detail..."
- validations:
- required: true
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
deleted file mode 100644
index 431ea5a7..00000000
--- a/.github/workflows/build.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-name: Intermediate Release Build
-
-on:
- workflow_dispatch:
- pull_request:
- branches: [ main ]
-
-jobs:
- build:
- runs-on: windows-latest
-
- steps:
- - name: Checkout code
- uses: actions/checkout@v4
-
- - name: Setup MSBuild
- uses: microsoft/setup-msbuild@v2
-
- - name: Restore NuGet packages
- run: nuget restore GTweak.sln
-
- - name: Build the solution (Release)
- run: msbuild GTweak.sln /t:Rebuild /p:Configuration=Release
-
- - name: Upload Build Artifacts
- uses: actions/upload-artifact@v4
- with:
- name: build
- path: |
- .Source/GTweak/bin/Release/
diff --git a/.github/workflows/issue-prefix.yaml b/.github/workflows/issue-prefix.yaml
new file mode 100644
index 00000000..1e56df99
--- /dev/null
+++ b/.github/workflows/issue-prefix.yaml
@@ -0,0 +1,23 @@
+name: Auto Prefix Issues
+
+on:
+ issues:
+ types: [opened, edited]
+
+jobs:
+ add-prefix:
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ ISSUE_URL: ${{ github.event.issue.html_url }}
+ ISSUE_TITLE: ${{ github.event.issue.title }}
+ steps:
+ - name: Add [BUG] prefix
+ if: contains(github.event.issue.labels.*.name, 'bug') && !startsWith(github.event.issue.title, '[BUG]')
+ run: gh issue edit "$ISSUE_URL" --title "[BUG] $ISSUE_TITLE"
+
+ - name: Add [IDEA] prefix
+ if: contains(github.event.issue.labels.*.name, 'enhancement') && !startsWith(github.event.issue.title, '[IDEA]')
+ run: gh issue edit "$ISSUE_URL" --title "[IDEA] $ISSUE_TITLE"
\ No newline at end of file