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

hfhbd

12/31/2021, 2:57 PM
Hey, I search the docs and didn't found it: Is there any GitHub App to add checks with annotations to a PR, like qodana? virtually a "sonarqube" lite version: https://github.com/JetBrains/qodana-examples/pull/2/checks?check_run_id=1776577456 or https://github.com/JetBrains/qodana-examples/pull/2/files
h

hfhbd

12/31/2021, 3:02 PM
Ahh, using Sarif!
nice
Maybe it could be more described in the docs 🙂
b

Big Chungus

12/31/2021, 3:04 PM
I found it myself when setting up GH analythics
s

schalkms

01/02/2022, 8:23 PM
Hello @hfhbd, I wanted to relate to the following statement.
Maybe it could be more described in the docs
Detekt's maintainer are always happy to include and merge tips and tricks into the main repo. If you think this might help future detekt users, the maintainers would really appreciate a PR describing your use case under the following section shown in the screenshot. Such things really help and will be gladly reviewed as well as merged. Regarding your question, well, there are several more options here. Usually the detekt readme tries to link 3rd party integrations of detekt. In this case, four options come to my mind. 1. Use the Sarif report as shown in this thread 2. Detekt all GitHub action https://github.com/marketplace/actions/detekt-all 3. Codefactor 4. Sonatype Lift
h

hfhbd

01/02/2022, 10:48 PM
It was indeed described in the docs, but I took some time! https://detekt.github.io/detekt/reporting.html#integration-with-github-code-scanning
3 Views