diff --git a/.github/workflows/daily-random-commit.yml b/.github/workflows/daily-random-commit.yml index 112f7fc..8b1c2d0 100644 --- a/.github/workflows/daily-random-commit.yml +++ b/.github/workflows/daily-random-commit.yml @@ -82,7 +82,7 @@ jobs: run: | git fetch --all # Lista todas as branches remotas que começam com 'random-commits' - BRANCHES=$(git branch -r | grep 'origin/random-commits') + BRANCHES=$(git branch -r | grep 'origin/random-commits' | sed 's/origin\///g' | xargs) echo "Branches encontradas: $BRANCHES" echo "BRANCHES=\"$BRANCHES\"" >> $GITHUB_ENV