Skip to content

Commit

Permalink
chore: Remove commit title from commit body
Browse files Browse the repository at this point in the history
The commit title is repeated in the commit body and seems unnecessary.
  • Loading branch information
gazal-k committed Dec 25, 2022
1 parent d68b28a commit 21dac2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/promote/pr.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (o *Options) PromoteViaPullRequest(envs []*jxcore.EnvironmentConfig, releas
defer func() { o.PullRequestFilter = nil }()
}

comment := fmt.Sprintf("chore: promote %s to version %s", app, versionName) + "\n\nthis commit will trigger a pipeline to [generate the actual kubernetes resources to perform the promotion](https://jenkins-x.io/docs/v3/about/how-it-works/#promotion) which will create a second commit on this Pull Request before it can merge"
comment := "this commit will trigger a pipeline to [generate the actual kubernetes resources to perform the promotion](https://jenkins-x.io/docs/v3/about/how-it-works/#promotion) which will create a second commit on this Pull Request before it can merge"

if draftPR {
labels = append(labels, "do-not-merge/hold")
Expand Down

0 comments on commit 21dac2b

Please sign in to comment.