codacy/Codacy Analysis CLI
Execute Codacy code analysis using your remote Codacy configuration
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 25, 2026
- License
- Apache 2.0
Pinned Snippet
uses: codacy/codacy-analysis-cli-action@562ee3e92b8e92df8b67e0a5ff8aa8e261919c08 # v4.4.7tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| verbose | Run with verbose output | no | — |
| project-token | API project token to retrieve your remote Codacy configuration for the project being analyzed | no | — |
| api-token | API account token to retrieve your remote Codacy configuration for the project being analyzed | no | — |
| codacy-api-base-url | Codacy API URL to retrieve your remote Codacy configuration | no | — |
| format | Output file format | no | — |
| output | Path to a file to save the analysis results | no | — |
| directory | Directory to analyze | no | — |
| parallel | Number of tools to run in parallel | no | — |
| max-tool-memory | Maximum allowed memory for running each tool (bytes) | no | — |
| max-allowed-issues | Maximum number of issues allowed for the analysis to succeed | no | 2147483647 |
| registry-address | Alternative registry address (e.g. artprod.mycompany/) | no | "" |
| tool | Only run a specific tool or tool category (metrics, issues, duplication). For the full list of tools, see https://docs.codacy.com/repositories-configure/codacy-configuration-file/#which-tools-can-be-configured-and-which-name-should-i-use | no | — |
| tool-timeout | Tool execution timeout (e.g. 15minutes, 1hour) | no | — |
| upload | Upload analysis results to Codacy | no | — |
| upload-batch-size | Maximum number of results in each batch to upload to Codacy | no | — |
| fail-if-incomplete | Fail the analysis if any tool fails to run | no | — |
| allow-network | Allow the tools to access the network | no | — |
| force-file-permissions | Force files to be readable by changing the permissions before running the analysis | no | — |
| gh-code-scanning-compat | Reduce issue severity by one level for non-security issues, for compatibility with GitHub's code scanning feature. This option only has an effect when used with 'format: sarif'. | no | — |
| run-docker-tools | Run all dockerized tools supported by Codacy. For the full list of tools, see https://docs.codacy.com/repositories-configure/codacy-configuration-file/#which-tools-can-be-configured-and-which-name-should-i-use | no | true |
| run-gosec | Run Gosec | no | — |
| run-staticcheck | Run Staticcheck | no | — |
| clang-tidy-output | Path to a file containing the output of Clang-Tidy. | no | — |
| faux-pas-output | Path to a file containing the output of Faux Pas. | no | — |
| skip-uncommitted-files-check | Skip validation of uncommitted changes | no | — |
| skip-container-engine-check | Skip check for the presence of a known container engine before executing | no | — |
Outputs
no outputs