https://kotlinlang.org logo
#detekt
Title
s

Sebastian Schuberth

09/15/2022, 12:37 PM
For some reason showing SARIF report results stopped working for me, although the report seems to be uploaded correctly. Any idea why might go wrong in this test PR? The GitHub action is configured like so: https://github.com/oss-review-toolkit/ort/blob/26392e163d2dd63dd9937f5369e458315c39cd08/.github/workflows/static-analysis.yml#L24-L32
Hmm, running
detekt
locally confirms that the violation is present in
analyzer/build/reports/detekt/detekt.sarif
, but not in
build/reports/detekt/detekt.sarif
. So maybe something does wring with merging the reports?
Hmm, I thought as of detekt 1.19.0 SARIF reports are auto-merged, and there is no need to manually create a merge task anymore. Is that not the case?
Ok, reintroducing the manual merge of reports fixes it.
10 Views