From ffdde451d66030e2f5981384f255099194b852d1 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Mon, 29 Dec 2025 10:49:46 +1100 Subject: [PATCH] GIT: templates Signed-off-by: jokob-sk --- .github/ISSUE_TEMPLATE/i-have-an-issue.yml | 40 +++++++++++----------- .github/ISSUE_TEMPLATE/setup-help.yml | 36 +++++++++---------- .github/workflows/label-issues.yml | 2 +- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/i-have-an-issue.yml b/.github/ISSUE_TEMPLATE/i-have-an-issue.yml index 427ecd6c..62eb3821 100755 --- a/.github/ISSUE_TEMPLATE/i-have-an-issue.yml +++ b/.github/ISSUE_TEMPLATE/i-have-an-issue.yml @@ -2,6 +2,20 @@ name: Bug Report description: 'When submitting an issue enable LOG_LEVEL="trace" and have a look at the docs.' labels: ['bug 🐛'] body: +- type: dropdown + id: installation_type + attributes: + label: What installation are you running? + options: + - Production (netalertx) 📦 + - Dev (netalertx-dev) 👩‍💻 + - Home Assistant (addon) 🏠 + - Home Assistant fa (full-access addon) 🏠 + - Bare-metal (community only support - Check Discord) ❗ + - Proxmox (community only support - Check Discord) ❗ + - Unraid (community only support - Check Discord) ❗ + validations: + required: true - type: checkboxes attributes: label: Is there an existing issue for this? @@ -12,7 +26,7 @@ body: - type: checkboxes attributes: label: The issue occurs in the following browsers. Select at least 2. - description: This step helps me understand if this is a cache or browser-specific issue. + description: This step helps me understand if this is a cache or browser-specific issue. options: - label: "Firefox" - label: "Chrome" @@ -44,9 +58,9 @@ body: required: false - type: textarea attributes: - label: Relevant `app.conf` settings + label: Relevant `app.conf` settings description: | - Paste relevant `app.conf`settings (remove sensitive info) + Paste relevant `app.conf`settings (remove sensitive info) render: python validations: required: false @@ -54,24 +68,10 @@ body: attributes: label: docker-compose.yml description: | - Paste your `docker-compose.yml` + Paste your `docker-compose.yml` render: yaml validations: required: false -- type: dropdown - id: installation_type - attributes: - label: What installation are you running? - options: - - Production (netalertx) - - Dev (netalertx-dev) - - Home Assistant (addon) - - Home Assistant fa (full-access addon) - - Bare-metal (community only support - Check Discord) - - Proxmox (community only support - Check Discord) - - Unraid (community only support - Check Discord) - validations: - required: true - type: checkboxes attributes: label: Debug or Trace enabled @@ -84,7 +84,7 @@ body: label: Relevant `app.log` section value: | ``` - PASTE LOG HERE. Using the triple backticks preserves format. + PASTE LOG HERE. Using the triple backticks preserves format. ``` description: | Logs with debug enabled (https://github.com/jokob-sk/NetAlertX/blob/main/docs/DEBUG_TIPS.md) ⚠ @@ -101,7 +101,7 @@ body: You can retrieve the logs from Portainer -> Containers -> your NetAlertX container -> Logs or by running `sudo docker logs netalertx`. value: | ``` - PASTE DOCKER LOG HERE. Using the triple backticks preserves format. + PASTE DOCKER LOG HERE. Using the triple backticks preserves format. ``` validations: required: true diff --git a/.github/ISSUE_TEMPLATE/setup-help.yml b/.github/ISSUE_TEMPLATE/setup-help.yml index d8cf0cf1..d1b54e20 100755 --- a/.github/ISSUE_TEMPLATE/setup-help.yml +++ b/.github/ISSUE_TEMPLATE/setup-help.yml @@ -2,6 +2,20 @@ name: Setup help description: 'When submitting an issue enable LOG_LEVEL="trace" and re-search first.' labels: ['Setup 📥'] body: +- type: dropdown + id: installation_type + attributes: + label: What installation are you running? + options: + - Production (netalertx) 📦 + - Dev (netalertx-dev) 👩‍💻 + - Home Assistant (addon) 🏠 + - Home Assistant fa (full-access addon) 🏠 + - Bare-metal (community only support - Check Discord) ❗ + - Proxmox (community only support - Check Discord) ❗ + - Unraid (community only support - Check Discord) ❗ + validations: + required: true - type: checkboxes attributes: label: Did I research? @@ -16,7 +30,7 @@ body: - type: checkboxes attributes: label: The issue occurs in the following browsers. Select at least 2. - description: This step helps me understand if this is a cache or browser-specific issue. + description: This step helps me understand if this is a cache or browser-specific issue. options: - label: "Firefox" - label: "Chrome" @@ -32,31 +46,17 @@ body: attributes: label: Relevant settings you changed description: | - Paste a screenshot or setting values of the settings you changed. + Paste a screenshot or setting values of the settings you changed. validations: required: false - type: textarea attributes: label: docker-compose.yml description: | - Paste your `docker-compose.yml` + Paste your `docker-compose.yml` render: python validations: required: false -- type: dropdown - id: installation_type - attributes: - label: What installation are you running? - options: - - Production (netalertx) - - Dev (netalertx-dev) - - Home Assistant (addon) - - Home Assistant fa (full-access addon) - - Bare-metal (community only support - Check Discord) - - Proxmox (community only support - Check Discord) - - Unraid (community only support - Check Discord) - validations: - required: true - type: textarea attributes: label: app.log @@ -65,7 +65,7 @@ body: ***Generally speaking, all bug reports should have logs provided.*** Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. Additionally, any additional info? Screenshots? References? Anything that will give us more context about the issue you are encountering! - You can use `tail -100 /app/log/app.log` in the container if you have trouble getting to the log files. + You can use `tail -100 /app/log/app.log` in the container if you have trouble getting to the log files. validations: required: false - type: checkboxes diff --git a/.github/workflows/label-issues.yml b/.github/workflows/label-issues.yml index 641aeb72..c7606423 100755 --- a/.github/workflows/label-issues.yml +++ b/.github/workflows/label-issues.yml @@ -21,7 +21,7 @@ jobs: let labelsToAdd = []; - if (lowerBody.includes('bare-metal')) { + if (lowerBody.includes('bare-metal') || lowerBody.includes('proxmox')) { labelsToAdd.push('bare-metal ❗'); }