Skip to content

Commit d649ada

Browse files
authored
fix: update comment of knative-component auto PR (#2707)
* comment Signed-off-by: David Fridrich <fridrich.david19@gmail.com> * fix format Signed-off-by: David Fridrich <fridrich.david19@gmail.com> --------- Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
1 parent 104e90c commit d649ada

File tree

1 file changed

+2
-1
lines changed
  • hack/cmd/update-knative-components

1 file changed

+2
-1
lines changed

hack/cmd/update-knative-components/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ func prepareBranch(branchName string) error {
316316
// create a PR via GH API on the func repo with those new versions
317317
func createPR(ctx context.Context, client *github.Client, title string, branchName string) error {
318318
fmt.Print("> creating PR...")
319-
body := fmt.Sprintf("%s\n/assign @gauron99", title)
319+
bodyText := "You might need to close & open this PR so all tests can run"
320+
body := fmt.Sprintf("%s\n%s\n/assign @gauron99", title, bodyText)
320321

321322
newPR := github.NewPullRequest{
322323
Title: github.Ptr(title),

0 commit comments

Comments
 (0)