cake-contrib / Cake.Issues.Recipe

:cake: :jigsaw: :mag_right: Recipe for using the Cake.Issues addins
https://cakeissues.net
MIT License
3 stars 5 forks source link

Different state reported for Sarif issues when successful and failed #477

Closed pascalberger closed 3 months ago

pascalberger commented 3 months ago

When issues from SARIF provider , they use a different state name if the state is successful or failed:

The reason for this is, that the SARIF issue provider will use the tool name reported in the SARIF file as issue provider name on issues, which is not considered when no issue is reported.

pascalberger commented 3 months ago

Cake.Issues.Sarif introduces a new setting SarifIssuesSettings.UseToolNameAsIssueProviderName which can be used to enforce a consistent issue provider name.

See https://github.com/cake-contrib/Cake.Issues/issues/686 for details.