diff --git a/.github/workflows/ort-sweeper.yml b/.github/workflows/ort-sweeper.yml index 25482f9737..f301901666 100644 --- a/.github/workflows/ort-sweeper.yml +++ b/.github/workflows/ort-sweeper.yml @@ -16,7 +16,7 @@ jobs: id: get-branches run: | # Get all branches matching 'release-*' and include 'main' - branches=$(git ls-remote --heads origin | awk -F'/' '/refs\/heads\/release-/ {print $NF}') + branches=$(git ls-remote --heads origin | awk -F'/' '/refs\/heads\/release-/ {printf $NF" "}') branches="main $branches" echo "::set-output name=branches::$branches" env: