Skip to content

getChangedAslFiles

function getChangedAslFiles(params): ChangedAslFile[];

Defined in: src/ci/changedFiles.ts:67

Lists files changed between baseRef and HEAD (three-dot: against their merge base, matching how GitHub/GitLab compute a PR/MR diff) that match the given glob patterns.

GetChangedAslFilesParams

ChangedAslFile[]

if git diff fails — most commonly a baseRef the checkout doesn’t have, which usually means the pipeline needs a deeper clone (GIT_DEPTH: 0 or fetch-depth: 0).