Skip to content

Commit

Permalink
issue labeler
Browse files Browse the repository at this point in the history
+added automatic label system
  • Loading branch information
deffcolony committed Mar 29, 2024
1 parent 471fb15 commit eb27216
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
18 changes: 18 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -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)'
19 changes: 19 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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 }}
2 changes: 1 addition & 1 deletion installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit eb27216

Please sign in to comment.