Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
fix: add descriptive pull request title
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Oct 2, 2023
1 parent b2dedcd commit 44f2d83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/productdeploymentgenerator_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ func (r *ProductDeploymentGeneratorReconciler) reconcile(ctx context.Context, ob
Message: project.Spec.Git.CommitTemplate.Message,
BaseBranch: project.Spec.Git.DefaultBranch,
},
PullRequestTemplate: gitv1alpha1.PullRequestTemplate{
Title: fmt.Sprintf("MPAS System Automated Pull Request for Product: %s", prodDesc.Name),
},
AutomaticPullRequestCreation: true,
SubPath: "products/.",
},
Expand Down

0 comments on commit 44f2d83

Please sign in to comment.