Skip to content

Commit

Permalink
fix: do not limit number of commits listed
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Jul 27, 2023
1 parent 02caa3a commit f6cdb2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/prepare_branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 += "```"
Expand Down

0 comments on commit f6cdb2b

Please sign in to comment.