Skip to content

Commit

Permalink
Merge pull request #411 from gazal-k/commit-comment
Browse files Browse the repository at this point in the history
chore: Remove commit title from commit body
  • Loading branch information
jenkins-x-bot authored Dec 25, 2022
2 parents d68b28a + 21dac2b commit 6fe2ff2
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 6fe2ff2

Please sign in to comment.