abcxyz / abcxyz/guardian

Refactor commenting strategies for better reusability

Aberta
#355 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Go
Estrelas
26
Forks
7
Merge médio
1d 1h
PRs com merge (30d)
1

Descrição

### TL;DR

Current commenting strategies in the plan and apply commands duplicate code frequently.

### Detailed design

```markdown
Two options top of mind:

1) We can create helper functions to generate the different types of messages (e.g. https://github.com/abcxyz/guardian/pull/352#discussion_r1704680358)

2) We can create a reporter/commenter interface and implement it for github to allow for potential future strategies. The interface would require methods for generating the different messages and writing them to the output (github, stdout, etc)
```

### Alternatives considered

_No response_

### Additional information

_No response_

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.