GIT: templates

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2025-12-29 10:49:46 +11:00
parent 494451b316
commit ffdde451d6
3 changed files with 39 additions and 39 deletions

View File

@@ -2,6 +2,20 @@ name: Bug Report
description: 'When submitting an issue enable LOG_LEVEL="trace" and have a look at the docs.' description: 'When submitting an issue enable LOG_LEVEL="trace" and have a look at the docs.'
labels: ['bug 🐛'] labels: ['bug 🐛']
body: 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 - type: checkboxes
attributes: attributes:
label: Is there an existing issue for this? label: Is there an existing issue for this?
@@ -12,7 +26,7 @@ body:
- type: checkboxes - type: checkboxes
attributes: attributes:
label: The issue occurs in the following browsers. Select at least 2. 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: options:
- label: "Firefox" - label: "Firefox"
- label: "Chrome" - label: "Chrome"
@@ -44,9 +58,9 @@ body:
required: false required: false
- type: textarea - type: textarea
attributes: attributes:
label: Relevant `app.conf` settings label: Relevant `app.conf` settings
description: | description: |
Paste relevant `app.conf`settings (remove sensitive info) Paste relevant `app.conf`settings (remove sensitive info)
render: python render: python
validations: validations:
required: false required: false
@@ -54,24 +68,10 @@ body:
attributes: attributes:
label: docker-compose.yml label: docker-compose.yml
description: | description: |
Paste your `docker-compose.yml` Paste your `docker-compose.yml`
render: yaml render: yaml
validations: validations:
required: false 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 - type: checkboxes
attributes: attributes:
label: Debug or Trace enabled label: Debug or Trace enabled
@@ -84,7 +84,7 @@ body:
label: Relevant `app.log` section label: Relevant `app.log` section
value: | value: |
``` ```
PASTE LOG HERE. Using the triple backticks preserves format. PASTE LOG HERE. Using the triple backticks preserves format.
``` ```
description: | description: |
Logs with debug enabled (https://github.com/jokob-sk/NetAlertX/blob/main/docs/DEBUG_TIPS.md) ⚠ 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`. You can retrieve the logs from Portainer -> Containers -> your NetAlertX container -> Logs or by running `sudo docker logs netalertx`.
value: | value: |
``` ```
PASTE DOCKER LOG HERE. Using the triple backticks preserves format. PASTE DOCKER LOG HERE. Using the triple backticks preserves format.
``` ```
validations: validations:
required: true required: true

View File

@@ -2,6 +2,20 @@ name: Setup help
description: 'When submitting an issue enable LOG_LEVEL="trace" and re-search first.' description: 'When submitting an issue enable LOG_LEVEL="trace" and re-search first.'
labels: ['Setup 📥'] labels: ['Setup 📥']
body: 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 - type: checkboxes
attributes: attributes:
label: Did I research? label: Did I research?
@@ -16,7 +30,7 @@ body:
- type: checkboxes - type: checkboxes
attributes: attributes:
label: The issue occurs in the following browsers. Select at least 2. 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: options:
- label: "Firefox" - label: "Firefox"
- label: "Chrome" - label: "Chrome"
@@ -32,31 +46,17 @@ body:
attributes: attributes:
label: Relevant settings you changed label: Relevant settings you changed
description: | description: |
Paste a screenshot or setting values of the settings you changed. Paste a screenshot or setting values of the settings you changed.
validations: validations:
required: false required: false
- type: textarea - type: textarea
attributes: attributes:
label: docker-compose.yml label: docker-compose.yml
description: | description: |
Paste your `docker-compose.yml` Paste your `docker-compose.yml`
render: python render: python
validations: validations:
required: false 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 - type: textarea
attributes: attributes:
label: app.log label: app.log
@@ -65,7 +65,7 @@ body:
***Generally speaking, all bug reports should have logs provided.*** ***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. 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! 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: validations:
required: false required: false
- type: checkboxes - type: checkboxes

View File

@@ -21,7 +21,7 @@ jobs:
let labelsToAdd = []; let labelsToAdd = [];
if (lowerBody.includes('bare-metal')) { if (lowerBody.includes('bare-metal') || lowerBody.includes('proxmox')) {
labelsToAdd.push('bare-metal ❗'); labelsToAdd.push('bare-metal ❗');
} }