]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ci: fix Cirrus CI jobs run from merge requests
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Jun 2023 10:25:01 +0000 (11:25 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Jun 2023 10:39:12 +0000 (11:39 +0100)
commit25420111ba089ecf8141f8db43d7d8262b3f91dc
tree1809f720bd4ca0500f89daf4406f0f2578440f3c
parent8b9d2bda8a7a54e669b476d3c700d09124807f00
ci: fix Cirrus CI jobs run from merge requests

Preferentially fetch from $CI_MERGE_REQUEST_REF_PATH if it is
defined, otherwise use $CI_COMMIT_REF_NAME

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
ci/cirrus/build.yml