actions-marketplace-validations/cccc-action

Generate useful metrics for C, C++, and Java code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Oct 29, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/sarnold_cccc-action@c6580b0ee5ce59236520a2515f2970bb0867d944 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenGITHUB_TOKEN secret < automatically provided by Github , you don't need to set up >yes
commit_reportWhether to commit the report files (else use upload-artifact)no""
output_dirDirectory name for report (default is metrics)nometrics
report_typeReport type: xml | HTML (default is HTML)nohtml
source_dirsList of one or more directory names to search for source files (default is repository root)no""
file_extensionsFile extensions to search for (default uses built-in list)no""
languageSource language (default is inferred from file extensions)no""
target_branchBranch that the action will target. Defaults to the current branch.no""
pull_request_branchBranch that the action will target on pull_request. Defaults to GITHUB_BASE_REF.no""
target_repositoryRepository that the report will be pushed to. Defaults to the current repository.no""
pull_request_repositoryRepository that the action will target on pull_request. Defaults to TARGET_REPOSITORYno""

no outputs