forcedotcom / forcedotcom/code-analyzer

[Feature Request] Add notice/warning/error messages for PR violations

Aperta
#1,903 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
USER STORY
Lingua principale
TypeScript
Stelle
240
Fork
52
Merge medio
1g 23h
PR unite (30g)
5

Descrizione

### Product Area

The “Run Salesforce Code Analyzer” GitHub Action

### Your Need or Problem

Currently the violations for files changed in the PR are split out from the global violations but not easily navigable. Using the list of violations I have to navigate to file & line myself.

### Your Desired Solution

It would be helpful if the violations reported for files in the PR could be reported as annotations at the proper location. This should be possible by using messages from Worfklow Commands: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#setting-an-error-message

### Alternatives Considered

_No response_

### Additional Context (Screenshots, Files, etc)

As an example, this is how the PMD Action reports violations:
Image

Image

### Workaround

_No response_

### Urgency

Low

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the GitHub Action entry point that separates violations for files changed in a pull request, then review GitHub Actions workflow commands for annotations. Done means those violations appear as messages at their reported file and line locations, with the appropriate notice, warning, or error level.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github-actions, typescript
Ambito
ci-cd
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.