Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add issue templates, standardize issue opening #233

Merged
merged 13 commits into from
Jul 24, 2024
Merged
93 changes: 93 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
name: Bug report
description: Crear un informe de error
labels:
- bug
assignees:
- marluanespiritusanto
- JeffreyArt1
- JE1999
body:
- type: markdown
attributes:
value: |
¡Gracias por tomarse el tiempo para completar este informe de error!
- type: textarea
attributes:
label: Comportamiento Actual
description: Por favor ingrese una descripción explícita del problema (issue)
placeholder: Descripción breve y explícita de su incidente...
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: "Screenshots"
description: Si corresponde, agregue capturas de pantalla para ayudar a explicar su problema.
value: |
![DESCRIPCION](LINK.png)
render: bash
validations:
required: false
- type: dropdown
id: severity
attributes:
label: Impacto de la gravedad
description: Elija la gravedad del impacto de este problema.
multiple: false
options:
- 'Bajo'
- 'Medio'
- 'Alta'
- 'Urgente'
- 'Otros'
validations:
required: true
- type: textarea
attributes:
label: Comportamiento Esperado
description: Una descripción concisa de lo que esperaba que suceda.
validations:
required: true
- type: textarea
id: logs
attributes:
label: Salida de registro relevante (logs)
description: |
Copie y pegue cualquier log output relevante
render: shell
validations:
required: false
- type: textarea
attributes:
label: Pasos para reproducir
description: |
Pasos para reproducir el problema.
placeholder: |
1. En este ambiente...
1. Con esta configuración...
1. Ejecute '...'
1. Observe el error...
validations:
required: false
- type: dropdown
id: platform
attributes:
label: "Plataforma"
description: ¿Cuál es el medio ambiente impactado?
multiple: false
options:
- Android
- IOS
- Windows
- Mac
- Linux
validations:
required: true
- type: textarea
attributes:
label: ¿Algo más?
description: |
¿Enlaces? ¿Referencias? ¡Cualquier cosa que nos brinde más contexto sobre el problema que encontro!
validations:
required: false
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
blank_issues_enabled: false
...
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "💡 Feature Request"
description: Sugiere una idea para este proyecto.
labels:
- enhancement
assignees:
- marluanespiritusanto
- JeffreyArt1
- JE1999
body:
- type: input
id: start_date
attributes:
label: "Fecha de inicio"
description: Inicio del desarrollo
placeholder: "Día/Mes/Año"
validations:
required: false
- type: textarea
id: implementation_pr
attributes:
label: "Implementacion PR"
description: Pull request utilizado
placeholder: "#Pull Request ID"
validations:
required: false
- type: textarea
id: reference_issues
attributes:
label: "Referencia del Issue"
description: Issues
placeholder: "#Issues IDs"
validations:
required: false
- type: textarea
id: summary
attributes:
label: "Resumen"
description: Proporcione una breve explicación del feature
placeholder: Describe en unas pocas líneas tu solicitud del feature
validations:
required: true
- type: textarea
id: drawbacks
attributes:
label: "Inconvenientes"
description: ¿Cuáles son los inconvenientes/impactos de la solicitud del feature?
placeholder: Identifique los inconvenientes y los impactos en la solicitud del feature.
validations:
required: true
35 changes: 35 additions & 0 deletions .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Issue labeler
on:
issues:
types: [opened, edited]

permissions:
contents: read

jobs:
label-component:
runs-on: ubuntu-latest

permissions:
issues: write
actions: read
contents: read

steps:
- uses: actions/checkout@v3

- name: Parse issue form
uses: stefanbuck/github-issue-parser@v3
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/bug_report.yml

- name: Set labels based on severity field
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
section: severity
block-list: |
None
Other
token: ${{ secrets.GITHUB_TOKEN }}