rmohan20/Code Analyzer Action

GHA to run Code Analyzer

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 28, 2023
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: rmohan20/code-analyzer-action@dc4820849aa15e2cc3099f8cb41b6a1588b2bf36 # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
render-resultsIf 'true', code-analyzer-action will render results as a markdown summary using code-analyzer-translator. Else, 'outfile-artifact-name' and 'outfile' should be provided to upload results.yes
outfile-artifact-nameArtifact name to be used for uploading results file. Defaults to "SFCA-Results". Use this name to download results if needed.noSFCA-Results
runtypeType of run. Valid values are "simple" and "dfa". Defaults to "simple".nosimple
categoryComma-separated categories to runno
engineProvide comma-separated values of Code Analyzer engine(s) to excecute. Defaults to Code Analyzer defaults based on runtype.no
envOverride ESLint default environment variables, in JSON-formatted stringno
eslintconfigLocation of custom config to execute eslint engineno
outfileOutput file to collect the results in. Format depends on the extension of the filename. Defaults to sfca_results.jsonnosfca_results.json
pathexplimitpath expansion upper boundary limit. Can be used only with DFA runs.no
pmdconfigLocation of PMD Rule Reference XML to customize PMD engineno
projectdirPath to project repository. Necessary when invoking sfge engine. Defaults to current directory.no
rule-disable-warning-violationDisables warning violations. Can be used only with DFA runs.no
rule-thread-countNumber to threads to execute rules in Graph Engine. Can be used only with DFA runs.no
rule-thread-timeoutThread timeout in milliseconds on Graph Engine. Can be used only with DFA runs.no
severitythresholdFail run when violation severity equals or exceeds this numberyes3
sfgejvmargsJVM args to control Graph Engine run. Can be used only with DFA runs.no
targetGlob pattern, directory, or comma separated list of files to execute Code Analyzeryes
tsconfigLocation of tsconfig file while executing eslint-typescript engineno
namedescription
exit-codeExit code returned by Code Analyzer run