Create Qodana.yaml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Qodana Scan | ||
# You may pin to the exact commit or the version | ||
# uses: JetBrains/qodana-action@a040a784cc28cb9cabdf884c4e8c32d0aa3fcdb3 uses: JetBrains/[email protected] | ||
with: Additional Qodana CLI argument, | ||
Separate: multiple arguments with commas (`,`). | ||
args: # optional, default is | ||
# Directory to store the analysis results | ||
results-dir: # optional, default is ${{ runner.temp }}/qodana/results | ||
# Directory to store Qodana caches | ||
cache-dir: # optional, default is ${{ runner.temp }}/qodana/caches | ||
# Automatically restore and save Qodana caches using GitHub caches | ||
use-caches: # optional, default is true | ||
# Set the primary cache key | ||
primary-cache-key: # optional, default is qodana-2023.3-${{ github.ref }}-${{ github.sha }} | ||
# Set the additional cache key | ||
additional-cache-key: # optional, default is qodana-2023.3-${{ github.ref }} | ||
# Upload cache for the default branch only | ||
cache-default-branch-only: # optional, default is false | ||
# Upload Qodana results (SARIF, other artifacts, logs) as an artifact to the job | ||
upload-result: # optional, default is false | ||
# Specify Qodana results artifact name, used for results uploading | ||
artifact-name: # optional, default is qodana-report | ||
# Use annotations to mark the results in the GitHub user interface | ||
use-annotations: # optional, default is true | ||
# Analyze ONLY changed files in a pull request | ||
pr-mode: # optional, default is true | ||
# Post a comment with the Qodana results summary to the pull request | ||
post-pr-comment: # optional, default is true | ||
# GitHub token to access the repository: post annotations, comments | ||
github-token: # optional, default is ${{ github.token }} | ||
# Push Qodana fixes to the repository, can be none, branch to the current branch, or a pull request | ||
push-fixes: # optional, default is none | ||
# Commit message for the commit with quick-fixes. Not used if `push-fixes` is set to `none` | ||
commit-message: # optional, default is 🤖 Apply quick-fixes by Qodana | ||