[PM-28041] Remove SDK Update PR changelog list size limit (#6152)

This commit is contained in:
Álison Fernandes 2025-11-10 21:58:01 +00:00 committed by GitHub
parent 4032d2bb5c
commit 7a6a493f24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ CURRENT_REF="$2"
NEW_REF="$3"
CHANGELOG=$(gh api "repos/$REPO/compare/$CURRENT_REF...$NEW_REF" \
--jq '.commits[] | "- \(.commit.message | split("\n")[0])"' | head -20)
--jq '.commits[] | "- \(.commit.message | split("\n")[0])"')
if [ -z "$CHANGELOG" ]; then
echo "No changes found between $CURRENT_REF and $NEW_REF"