diff --git a/.github/workflows/ChangelogUpdate.yml b/.github/workflows/ChangelogUpdate.yml index f064d5d1bd..0ea2d1d82e 100644 --- a/.github/workflows/ChangelogUpdate.yml +++ b/.github/workflows/ChangelogUpdate.yml @@ -34,7 +34,7 @@ jobs: CATEGORIES=$(yq eval '.changelog.categories' .github/release.yml) # Iterate over categories - for i in $(seq 0 $(echo "$CATEGORIES" | yq eval '. | length - 1' -)); do + for i in $(seq 0 $(echo "$CATEGORIES" | yq eval 'length' - 1)); do TITLE=$(echo "$CATEGORIES" | yq eval ".[$i].title" -) LABELS=$(echo "$CATEGORIES" | yq eval ".[$i].labels[]" -) CHANGELOG="${CHANGELOG}### ${TITLE}\n"