alexellis / alexellis/derek

Backlog: check if PR template was deleted

Aberta
#40 16 comentários 3 reações 0 responsáveis Ver no GitHub
priority/high
Linguagem predominante
Go
Estrelas
820
Forks
68
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Scenario: impatient contributor deletes whole PR template message and decides it doesn't apply to them.

Result: PR is decorated with a comment telling user to fill out PR template.

## Implementation ideas:

Opt in via feature in .DEREK.yml file `pr_template_checking`

* v1.0 PR body cannot be empty
* v2.0 100% of the lines beginning with a heading i.e. `#` in `repo/.github/PULL_REQUEST_TEMPLATE.md` must be present in body of PR

@rgee0 @dirkhh @johnharris85 thoughts?

![bad_pr_edi](https://user-images.githubusercontent.com/6358735/36937537-dbecc714-1f0c-11e8-9893-d8ec75c1ed6f.png)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.