jetbrains/Qodana Scan
Scan your projects with Qodana on GitHub. Docs: https://jb.gg/qodana-github-action
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 10, 2026
- License
- Apache 2.0
Pinned Snippet
uses: jetbrains/qodana-action@4861e015da555e86a72b862892aba6c2b93e6891 # v2026.1.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| args | Additional Qodana CLI arguments, e.g. "--log-level debug --property key=value". Quote arguments containing spaces. Comma-separated format is deprecated. | no | "" |
| results-dir | Directory to store the analysis results | no | ${{ runner.temp }}/qodana/results |
| cache-dir | Directory to store Qodana caches | no | ${{ runner.temp }}/qodana/caches |
| use-caches | Automatically restore and save Qodana caches using GitHub caches | no | true |
| primary-cache-key | Set the primary cache key | no | qodana-2026.1-${{ github.ref }}-${{ github.sha }} |
| additional-cache-key | Set the additional cache key | no | qodana-2026.1-${{ github.ref }} |
| cache-default-branch-only | Upload cache for the default branch only | no | false |
| upload-result | Upload Qodana results (SARIF, other artifacts, logs) as an artifact to the job | no | false |
| artifact-name | Specify Qodana results artifact name, used for results uploading | no | qodana-report |
| use-annotations | Use annotations to mark the results in the GitHub user interface | no | true |
| pr-mode | Analyze ONLY changed files in a pull request | no | true |
| post-pr-comment | Post a comment with the Qodana results summary to the pull request | no | true |
| github-token | GitHub token to access the repository: post annotations, comments | no | ${{ github.token }} |
| push-fixes | Push Qodana fixes to the repository, can be none, branch to the current branch, or a pull request | no | none |
| commit-message | Commit message for the commit with quick-fixes. Not used if `push-fixes` is set to `none` | no | 🤖 Apply quick-fixes by Qodana |
| nightly-version | Qodana CLI nightly version to use (e.g. 2026.2 or latest). Downloads CLI from tag v{version}-nightly. | no | "" |
Outputs
no outputs