Skip to content

Commit

Permalink
fix loop
Browse files Browse the repository at this point in the history
  • Loading branch information
AdarshRawat1 committed Jul 8, 2024
1 parent c752112 commit 7bf1a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ChangelogUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' -)); do
TITLE=$(echo "$CATEGORIES" | yq eval ".[$i].title" -)
LABELS=$(echo "$CATEGORIES" | yq eval ".[$i].labels[]" -)
CHANGELOG="${CHANGELOG}### ${TITLE}\n"
Expand Down

0 comments on commit 7bf1a54

Please sign in to comment.