Skip to content

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

@mmablom

Description

@mmablom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    USER STORYNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions