Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit 84a8f3f

Browse files
committed
Using the correct org
1 parent dc1423f commit 84a8f3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/repo/github.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package repo
33
import (
44
"context"
55
"errors"
6+
"fmt"
67
"net/http"
78
"strings"
89

@@ -90,7 +91,7 @@ func (c *GithubRepo) AddPullApprove(ctx context.Context, repo string, org string
9091

9192
fileOpt := &github.RepositoryContentFileOptions{
9293
Message: github.String("Initialize repository :tada:"),
93-
Content: []byte("extends: hellofresh"),
94+
Content: []byte(fmt.Sprintf("extends: %s", org)),
9495
Branch: github.String(opts.ProtectedBranchName),
9596
}
9697
_, _, err := c.GithubClient.Repositories.CreateFile(ctx, org, repo, opts.Filename, fileOpt)

0 commit comments

Comments
 (0)