actions-marketplace-validations/cccc-action
Generate useful metrics for C, C++, and Java code
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Oct 29, 2025
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/sarnold_cccc-action@c6580b0ee5ce59236520a2515f2970bb0867d944 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN secret < automatically provided by Github , you don't need to set up > | yes | — |
| commit_report | Whether to commit the report files (else use upload-artifact) | no | "" |
| output_dir | Directory name for report (default is metrics) | no | metrics |
| report_type | Report type: xml | HTML (default is HTML) | no | html |
| source_dirs | List of one or more directory names to search for source files (default is repository root) | no | "" |
| file_extensions | File extensions to search for (default uses built-in list) | no | "" |
| language | Source language (default is inferred from file extensions) | no | "" |
| target_branch | Branch that the action will target. Defaults to the current branch. | no | "" |
| pull_request_branch | Branch that the action will target on pull_request. Defaults to GITHUB_BASE_REF. | no | "" |
| target_repository | Repository that the report will be pushed to. Defaults to the current repository. | no | "" |
| pull_request_repository | Repository that the action will target on pull_request. Defaults to TARGET_REPOSITORY | no | "" |
Outputs
no outputs