forcedotcom / forcedotcom/code-analyzer
[Feature Request] Add notice/warning/error messages for PR violations
- Vorherrschende Sprache
- TypeScript
- Sterne
- 240
- Forks
- 52
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 5
Beschreibung
### 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:
### Workaround
_No response_
### Urgency
Low
Beitragsleitfaden
Rechercherichtung
Beginne damit, den Einstiegspunkt der GitHub Action zu finden, der Verstöße für Dateien trennt, die in einem Pull Request geändert wurden, und prüfe anschließend die Workflow-Befehle von GitHub Actions für Annotationen. Erledigt ist die Aufgabe, wenn diese Verstöße an den gemeldeten Stellen in Datei und Zeile als Nachrichten mit der entsprechenden Hinweis-, Warn- oder Fehlerebene erscheinen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github-actions, typescript
- Bereich
- ci-cd
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100