Skip to content

Commit

Permalink
[CI] Add .github/*.md configuration files (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Salgado2004 authored Sep 11, 2024
2 parents b14a0cb + 0c9d729 commit 127c94e
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @Salgado2004
12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Reportar bug
title: BUG - <descrição do bug>
description: "Report of question content (invalid, incorrect, etc.)"
labels: ["bug"]
body:
- type: input
attributes:
label: Qual é o bug?
description: Descreva brevemente o problema.
placeholder: Erro ao adicionar item ao carrinho
validations:
required: true
- type: input
attributes:
label: Resultado esperado?
description: Descreva o que você esperava que acontecesse.
placeholder: O item deve ser adicionado ao carrinho sem erros.
validations:
required: true
- type: dropdown
attributes:
label: "Qual a gravidade do bug?"
options:
- Crítico
- Alto
- Médio
- Baixo
validations:
required: true
- type: textarea
attributes:
label: "Descreva os passos para reproduzir (use o formato markdown de lista iniciando cada linha com -)"
validations:
required: true
- type: input
attributes:
label: "Qual dispositivo você está usando?"
description: "Modelo, sistema operacional, navegador"
placeholder: Windows 10, Chrome 89, etc.
- type: textarea
attributes:
label: "Screenshots (se necessário)"


34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Novo requisito
title: RF<numero> - <breve descrição do requisito>
description: "Requisito a ser implementado (Feature, História de usuário)"
labels: ["Melhoria de código"]
body:
- type: markdown
attributes:
value: "## Os requisitos são as atividades semanais de cada integrante da equipe"
- type: input
attributes:
label: Sendo
description: Quem se beneficia do requisito
placeholder: um cliente, um funcionário, etc...
validations:
required: true
- type: input
attributes:
label: Quero
description: Objetivo do requisito
placeholder: acessar meu perfil, visualizar um serviço, etc...
validations:
required: true
- type: input
attributes:
label: Para
description: Resultado do requisito
placeholder: organizar minhas informações, gerenciar o andamento, etc...
validations:
required: true
- type: textarea
attributes:
label: "Lista de critérios de aceitação (use o formato de lista do markdown iniciando cada linha com -)"
validations:
required: true
24 changes: 24 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Novo Pull Request
> Escreva uma breve descrição do que você fez
- [ ] Requisito funcional
- [ ] Requisito não funcional
- [ ] Testes unitários
- [ ] Correção de bugs
- [ ] Documentação

## O que você fez?
> Liste as mudanças implementadas
## Número da issue referenciada
> [!tip]
> Use as palavras chave `close` ou `fix` para automaticamente linkar a issue com o pull request. Use `#` antes do número para autocompletar.
-

## Checklist:

- [ ] Meu código segue as normas de estilo deste projeto
- [ ] Realizei uma auto-revisão do meu código
- [ ] Comentei meu código, principalmente em áreas difíceis de entender

## Screenshots (se necessário):

0 comments on commit 127c94e

Please sign in to comment.