ci: Fallback to HEAD when checking out branch

... instead of hardcoding origin/master as the default branch.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1914>
This commit is contained in:
Florian Müllner 2021-07-14 20:10:44 +02:00 committed by Marge Bot
parent df76c3fd11
commit 28f64072ba

View File

@ -47,7 +47,7 @@ if [ -z "$mutter_target" ]; then
mutter_target=FETCH_HEAD mutter_target=FETCH_HEAD
else else
echo \ not found echo \ not found
mutter_target=origin/master mutter_target=HEAD
echo Using $mutter_target instead echo Using $mutter_target instead
fi fi
fi fi