Skip to content

Commit 1bc2e16

Browse files
Limit git log to 50 entries
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d3673f3 commit 1bc2e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/AUTO-VERSION.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
echo "$MERGED_BRANCHES"
6262
6363
# Also check commit messages for manual detection
64-
COMMIT_MESSAGES=$(git log ${LATEST_TAG}..HEAD --pretty=format:"%s" || git log --pretty=format:"%s")
64+
COMMIT_MESSAGES=$(git log ${LATEST_TAG}..HEAD --pretty=format:"%s" --max-count=50 || git log --pretty=format:"%s" --max-count=50)
6565
echo "Commit messages:"
6666
echo "$COMMIT_MESSAGES"
6767

0 commit comments

Comments
 (0)