Skip to content

Commit

Permalink
check-cherry-picks.sh maintainer script: fix handling of cherry-pick-…
Browse files Browse the repository at this point in the history
…less branches
  • Loading branch information
risicle committed Apr 10, 2024
1 parent ddcd5f2 commit b612366
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions maintainers/scripts/check-cherry-picks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b612366

Please sign in to comment.