Skip to content

Add qodana CI checks#1

Merged
LeoAndo merged 2 commits intomainfrom
qodana-automation-2075867549
Jan 16, 2026
Merged

Add qodana CI checks#1
LeoAndo merged 2 commits intomainfrom
qodana-automation-2075867549

Conversation

@qodana-cloud
Copy link

@qodana-cloud qodana-cloud bot commented Jan 16, 2026

Adds qodana.yaml and GitHub workflow file that runs Qodana static analysis on each pull request.

@coderabbitai
Copy link

coderabbitai bot commented Jan 16, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

Qodana Community for JVM

1 new problem were found

Inspection name Severity Problems
Android Resources Validation 🔴 Failure 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR integrates Qodana static analysis into the CI pipeline to automatically check code quality on pull requests and pushes to main/release branches.

Changes:

  • Added Qodana configuration file specifying JVM Android linter and recommended profile
  • Created GitHub Actions workflow to run Qodana scans on PRs and pushes
  • Configured dependency license checks as part of the analysis

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
qodana.yaml Defines Qodana linter configuration with JVM Android linter v2025.2 and license checking
.github/workflows/qodana_code_quality.yml Implements GitHub Actions workflow to execute Qodana scans with cloud integration

pull-requests: write
checks: write
steps:
- uses: actions/checkout@v3
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The checkout action version is inconsistent with the existing workflow. The claude-review.yml uses @v4, which is the current stable version. Update to @v4 for consistency and to use the latest features.

Suggested change
- uses: actions/checkout@v3
- uses: actions/checkout@v4

Copilot uses AI. Check for mistakes.
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The 'contents: write' permission may be excessive for a code quality check workflow. Unless Qodana needs to write results back to the repository (e.g., committing fixes), consider using 'contents: read' to follow the principle of least privilege.

Suggested change
contents: write
contents: read

Copilot uses AI. Check for mistakes.
@LeoAndo LeoAndo merged commit 18ae54f into main Jan 16, 2026
11 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.

2 participants