From f6cdb2bb28bc18155144d3b59415e40b9e9bee3c Mon Sep 17 00:00:00 2001 From: galargh Date: Thu, 27 Jul 2023 12:44:44 +0100 Subject: [PATCH] fix: do not limit number of commits listed --- actions/prepare_branch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/prepare_branch.go b/actions/prepare_branch.go index 554eab4..f2a2aa1 100644 --- a/actions/prepare_branch.go +++ b/actions/prepare_branch.go @@ -230,13 +230,13 @@ func (ctx PrepareBranch) GetBody(branch, foreword string) (string, error) { } kuboCommitsStr := "```\n" - for _, commit := range kuboCommits[:100] { + for _, commit := range kuboCommits { kuboCommitsStr += fmt.Sprintf("%s %s\n", commit.GetSHA()[:7], strings.Split(commit.GetCommit().GetMessage(), "\n")[0]) } kuboCommitsStr += "```" boxoCommitsStr := "```\n" - for _, commit := range boxoCommits[:100] { + for _, commit := range boxoCommits { boxoCommitsStr += fmt.Sprintf("%s %s\n", commit.GetSHA()[:7], strings.Split(commit.GetCommit().GetMessage(), "\n")[0]) } boxoCommitsStr += "```"