baseRef

val baseRef: Property<String>(source)

The base git ref to diff against. Default: "HEAD~1" (the previous commit). Set to the PR's merge target, e.g. "origin/main", in CI.