Skip to content

ci: keep CodeQL results out of GitHub code scanning - #5

Merged
jl-0 merged 1 commit into
mainfrom
devin/1791837199-codeql-no-github-upload
Oct 12, 2026
Merged

jl-0 merged 1 commit into
mainfrom
devin/1791837199-codeql-no-github-upload

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Sets upload: never on the github/codeql-action/analyze step in Security-Scan, so CodeQL results go to SonarQube Cloud only.

Before this change, every CodeQL finding showed up on PRs twice: once as a GitHub code-scanning alert (github-advanced-security bot comment plus a "CodeQL" check) and once through SonarQube Cloud. SonarQube Cloud already imports the same SARIF as part of the merged CodeQL + SonarQube report.

The analyze step still writes the SARIF to ../results, so the scrub → fix_sarif_paths.py → artifact → sonar.sarifReportPaths path is unchanged.

Not in this PR: SonarQube Cloud's own push of issues into GitHub code scanning (the alerts titled "SonarCloud /"). That is a SonarQube Cloud project/org setting, not something in this repo. Existing CodeQL alerts in the Security tab stay until they are dismissed.

Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/c68b76e69b5d43be8c7496ff1db5dca4
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/c68b76e69b5d43be8c7496ff1db5dca4?variant=devin
Requested by: @jl-0


Devin Review

SonarQube Cloud already imports the CodeQL SARIF as part of the merged
report. Uploading it to GitHub as well made each finding also appear as a
github-advanced-security alert and PR comment.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@sonarqubecloud

Copy link
Copy Markdown

@jl-0
jl-0 merged commit cdb872c into main Oct 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant