Breaking change: TF_VAR_spacelift_run_trigger now reported correctly for pull request events
Tracked runs created when a pull request is merged now record the commit as their trigger, as runs from push events already do. Before this change, these runs had no recorded trigger, so TF_VAR_spacelift_run_trigger fell back to git. It now reports vcs/commit.
This fixes downstream stacks in a dependency chain skipping their run when the upstream stack had no output changes.
Who’s affected: only you if your hooks or Terraform/OpenTofu code check this variable for git. Accept vcs/commit too:
contains(["git", "vcs/commit"], var.spacelift_run_trigger)git remains a fallback for runs with no recorded trigger, such as proposed runs.
See Spacelift environment for all possible values.