cqlabs/DCM Action

Run DCM checks

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenToken to connect to GitHub. Use {{ secrets.GITHUB_TOKEN }}.yes
github-patPersonal access token. Required if you have a private GitHub repository in the package dependencies.no
ci-keyDCM license CI/CD key.yes
emailDCM license email.yes
pull-request-commentAdd a comment with a report overview to your pull requests.notrue
pull-request-comment-on-failAdd a comment with a report overview to your pull requests, but only when any DCM check fails.nofalse
package-namePackage name to differentiate the report. Set when running several DCM runs at once.no
foldersList of folders and files (comma separated) to scan.nolib
excludeList of files to exclude (in Glob syntax).no
exclude-public-apiExclude publicly exported code from the analysis output.nofalse
fatal-foundTreat any found issue as fatal.notrue
fatal-levelTreat equal or higher lint issues severity as fatal (unset by default)no
analyzeRun "dcm analyze".notrue
analyze-assetsRun "dcm analyze-assets".nofalse
analyze-widgetsRun "dcm analyze-widgets".nofalse
calculate-metricsRun "dcm calculate-metrics".nofalse
check-code-duplicationRun "dcm check-code-duplication".nofalse
check-dependenciesRun "dcm check-dependencies".nofalse
check-exports-completenessRun "dcm check-exports-completeness".nofalse
check-parametersRun "dcm check-parameters".nofalse
check-unnecessarily-public-codeRun "dcm check-unnecessarily-public-code".nofalse
check-unused-codeRun "dcm check-unused-code".nofalse
check-unused-filesRun "dcm check-unused-files".nofalse
check-unused-l10nRun "dcm check-unused-l10n".nofalse
sizeSize limit for image assets.no
webpRequire converting ".jpg" and ".png" images to ".webp".nofalse
namingRequired naming convention for image assets ("pascal", "kebab" or "snake").no
resolutionFind missing or incorrect resolution-aware image assets.notrue
allowed-formatsList of allowed formats for particular folders (e.g. "icons:svg").no
show-similarityInclude similar widgets into the report.nofalse
similarity-thresholdSet a minimum threshold after which widgets are considered similar.no
per-packageCompare code for duplications only within one package.nofalse
exclude-overridesExclude methods marked with "@override".nofalse
statements-thresholdMinimum number of lines for a duplication entry.no
entries-thresholdMinimum number of duplication entries to report (since DCM 1.30.0).no
ignored-packagesPackage names that should be ignored.no
show-same-valueInclude parameters that always get the same constant argument.nofalse
show-unused-default-valueInclude parameters with default values that always get an argument.nofalse
show-redundantInclude parameters whose values are always passed with another parameter.nofalse
show-unused-vftInclude "@visibleForTesting" parameters that are never used in tests.nofalse
show-broad-typesInclude parameters whose types can be made more specific.nofalse
no-exclude-overriddenDo not treat overridden members as always used.nofalse
class-patternRegular expression for class names to detect classes that provide localization (for example, "^AppLocalizations$").no

no outputs