check-cherry-picks.sh maintainer script: fix handling of cherry-pick-less branches

This commit is contained in:
Robert Scott 2024-04-10 21:59:50 +01:00
parent ddcd5f2762
commit b612366abc
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ PICKABLE_BRANCHES=${PICKABLE_BRANCHES:-master staging release-??.?? staging-??.?
problem=0
while read new_commit_sha ; do
if [ -z "$new_commit_sha" ] ; then
continue # skip empty lines
fi
if [ "$GITHUB_ACTIONS" = 'true' ] ; then
echo "::group::Commit $new_commit_sha"
else