Skip to content

getSkipReason

getSkipReason(job): string | undefined

Defined in: packages/simply-cicd-core/src/build/skipGuard.ts:36

Returns a warning message (and thus “should skip”) if job should be skipped given the current PACKAGE_CHANGED environment variable set by determine-package-changes earlier in the pipeline: scratch-org-lifecycle jobs skip when nothing changed, create-fallback-tag skips when something did (since a real package version will be created instead). Returns undefined (don’t skip) otherwise.

string

string | undefined