From eb2721615618e06fca0014fb3deb100f3b2903ab Mon Sep 17 00:00:00 2001 From: deffcolony <61471128+deffcolony@users.noreply.github.com> Date: Fri, 29 Mar 2024 14:05:53 +0100 Subject: [PATCH] issue labeler +added automatic label system --- .github/ISSUE_TEMPLATE/bug-report.yml | 9 +++++---- .github/labeler.yml | 18 ++++++++++++++++++ .github/workflows/labeler.yml | 19 +++++++++++++++++++ installer.bat | 2 +- 4 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 496f562..75862cf 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -9,10 +9,11 @@ body: label: Environment description: What OS are you running the file from? options: - - Windows - - Linux - - Android (Termux) - - Mac + - 🪟 Windows + - 🐧 Linux + - 📱 Termux + - 🐋 Docker + - 🍎 Mac validations: required: true diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..850096c --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,18 @@ +# Add/remove 'critical' label if issue contains the words 'urgent' or 'critical' +#critical: +# - '(critical|urgent)' + +🪟 Windows: + - '(🪟 Windows)' + +🍎 Mac: + - '(🍎 Mac)' + +🐋 Docker: + - '(🐋 Docker)' + +📱 Termux: + - '(📱 Termux)' + +🐧 Linux: + - '(🐧 Linux)' \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..554c588 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,19 @@ +name: "Issue Labeler" +on: + issues: + types: [opened, edited] + +permissions: + issues: write + contents: read + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v3.4 + with: + configuration-path: .github/labeler.yml +# not-before: 2020-01-15T02:54:32Z # optional and will result in any issues prior to this timestamp to be ignored. + enable-versioned-regex: 0 + repo-token: ${{ github.token }} \ No newline at end of file diff --git a/installer.bat b/installer.bat index eb9c66a..c86ac2f 100644 --- a/installer.bat +++ b/installer.bat @@ -600,7 +600,7 @@ echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Installing vs_BuildT curl -L -o "%temp%\vs_buildtools.exe" "https://aka.ms/vs/17/release/vs_BuildTools.exe" if %errorlevel% neq 0 ( - echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] Download failed. Please restart the installer%reset% + echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] Failed to download vs_BuildTools.exe Please restart the installer%reset% pause goto :installer ) else (