pragmatic-bear/Pull Request SFDX Code Review

Uses Salesforce Code Analyzer to create a Pull Request Review including inline Comments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
source_pathPath to the package folder containing source to be analysed. Git Diff will be performend in this folder and only changed files will be considered.yes"***.cls" "***.trigger" "***.js" "***.html" "***.page" "***.cmp" "***.component" "***.apex" "***.ts"
github_tokenPass in the GITHUB_TOKEN to facilitate API calls to GitHubyes
fail_thresholdSingle Issue with this severity will cause the pipeline to fail (can be used instad of request changes)no0
reject_thresholdSingle Issue with this severity will cause the review to request changesno0
approve_thresholdIf all Issues are less severe than this the review will give approvalno99
severity_thresholdAny issue less severe than this configuration will be completely ignoredno3
max_commentsMaximum number of feedback comments to post as part of the review. Anything over 39 will be posted separately in 5s intervals.no39
categoryFrom Analyzer; One or more categories of rules to run. Specify multiple values as a comma-separated list.no
engineFrom Analyzer (default: pmd, eslint, cpd); not including Graph Engine. Specifies one or more engines to run. Submit multiple values as a comma-separated list. Specify the location of eslintrc config to customize eslint enginenopmd,eslint,cpd
eslintconfigFrom Analyzer; Specifies the location of eslintrc config to customize eslint engine.no
pmdconfigFrom Analyzer; Specifies the location of PMD rule reference XML file to customize rule selection.no
tsconfigFrom Analyzer; Location of tsconfig.json file used by eslint-typescript engine.no
dfa_settingInclude Salesforce Graph Engine analysis. Options: "dfa" or "dfa-only". Leave blank to run only standard Analyzer.no
projectdirFrom Analyzer, Applies to DFA only; Provides the relative or absolute root project directory used to set the context for Graph Engine analysis. Project directory must be a path, not a glob. Specify multiple values as a comma-separated list. Defaults to ./no./
rule_thread_countFrom Analyzer, Applies to DFA only; Specifies number of rule evaluation threads, or how many entrypoints can be evaluated concurrently. Inherits value from SFGE_RULE_THREAD_COUNT env-var, if set. Default is 4.no4
rule_thread_timeoutFrom Analyzer, Applies to DFA only; Specifies time limit for evaluating a single entrypoint in milliseconds. Inherits from SFGE_RULE_THREAD_TIMEOUT env-var if set. Default is 900,000 ms, or 15 minutes.no900000

no outputs