{"repo":"JetBrains/qodana-action","free":true,"listed":false,"github":"https://github.com/JetBrains/qodana-action","clone":"git clone https://github.com/JetBrains/qodana-action.git","description":"⚙️ Scan your Go, Java, Kotlin, PHP, Python, JavaScript, TypeScript, .NET projects at GitHub with Qodana. This repository contains Qodana for Azure, GitHub, CircleCI and Gradle","language":"JavaScript","stars":308,"topics":["actions","github-actions","code-review","code-quality","static-analysis","qodana","sarif","code-scanning","java","kotlin"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"Qodana Scan [ ][jb:confluence-on-gh] [ ][jb:discussions] [ ][jb:twitter] Qodana is a code quality monitoring tool that identifies and suggests fixes for bugs, security vulnerabilities, duplications, and imperfections. Table of Contents - Qodana Scan - Usage - Configuration - Issue Tracker [//]: # (title: GitHub Actions) Usage The Qodana Scan GitHub action allows you to run Qodana on a GitHub repository. Basic configuration To configure Qodana Scan, save the .github/workflows/code quality.yml file containing the workflow configuration: To set QODANA TOKEN environment variable in the build configuration: 1. In the GitHub UI, create the QODANA TOKEN encrypted secret and save the project token as its value. 2. In the GitHub workflow file, add QODANA TOKEN variable to the env section of the Qodana Scan step: Using this workflow, Qodana will run on the main branch, release branches, and on the pull requests coming to your repository. Note: fetch-depth: 0 is required for checkout in case Qodana works in pull request mode (reports issues that appeared only in that pull request). We recommend that you have a separate workflow file for Qodana because different jobs run in parallel Apply quick-fixes To make Qodana automatically fix found issues and push the changes to your repository, you need to 1. Choose what kind of fixes to apply - Specify fixesStrategy in the qodana.yaml file in your repository root - Or set the action args property with the quick-fix strategy to use: --apply-fixes","default_branch":null,"files":null,"tree":[],"storefront":"/r/JetBrains","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JetBrains/qodana-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}