when running e.g. from a scheduled job the BUILDKITE_COMMIT may be “HEAD”. On a busy repo this means that each step of the pipeline will most likely run against a different git ref…
There is no real mechanism for pinning the BUILDKITE_COMMIT in this scenario