check-cherry-picks.sh maintainer script: fix handling of cherry-pick-less branches
This commit is contained in:
parent
ddcd5f2762
commit
b612366abc
|
@ -12,6 +12,9 @@ PICKABLE_BRANCHES=${PICKABLE_BRANCHES:-master staging release-??.?? staging-??.?
|
||||||
problem=0
|
problem=0
|
||||||
|
|
||||||
while read new_commit_sha ; do
|
while read new_commit_sha ; do
|
||||||
|
if [ -z "$new_commit_sha" ] ; then
|
||||||
|
continue # skip empty lines
|
||||||
|
fi
|
||||||
if [ "$GITHUB_ACTIONS" = 'true' ] ; then
|
if [ "$GITHUB_ACTIONS" = 'true' ] ; then
|
||||||
echo "::group::Commit $new_commit_sha"
|
echo "::group::Commit $new_commit_sha"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user